EDennis.NetCoreTestingUtilities
3.3.0
See the version list below for details.
dotnet add package EDennis.NetCoreTestingUtilities --version 3.3.0
NuGet\Install-Package EDennis.NetCoreTestingUtilities -Version 3.3.0
<PackageReference Include="EDennis.NetCoreTestingUtilities" Version="3.3.0" />
paket add EDennis.NetCoreTestingUtilities --version 3.3.0
#r "nuget: EDennis.NetCoreTestingUtilities, 3.3.0"
// Install EDennis.NetCoreTestingUtilities as a Cake Addin #addin nuget:?package=EDennis.NetCoreTestingUtilities&version=3.3.0 // Install EDennis.NetCoreTestingUtilities as a Cake Tool #tool nuget:?package=EDennis.NetCoreTestingUtilities&version=3.3.0
NetCoreTestingUtilities Wiki
The NetCoreTestingUtilities package provides supplementary tools for .NET Core 2 unit testing. The package is divided into four main classes:
- ObjectExtensions -- which provides methods for loading objects from JSON and SQL, generating JSON from objects, and performing deep comparisons of objects.
- Json -- which provides methods similar to ObjectExtensions, but which targets a Json.NET JToken, rather than objects of specific classes.
- Jxml-- which provides methods for translating between JSON and JXML -- a flavor of XML that includes special processing instructions, as well as generic elements and attributes, for ensuring the full recovery of a JSON document from XML.
- JsonAssert -- which provides a highly structured, file-driven testing framework, in which test cases are specified in JSON files.
- JsonSorter -- which sorts array elements and properties within a JSON string according to the alphabetic sort order of these elements and properties -- which allows two JSON strings to be compared while ignoring the order of array elements and properties.
- HttpClientPairBase -- which facilitates testing of solutions that have both an External API and an Internal API.
- IActionResultExtensions and ActionResultExtensions -- which provide methods that extract the returned object (GetObject) and status code (GetStatusCode) from an IActionResult and ActionResult, respectively.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Core | netcoreapp2.2 is compatible. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
-
.NETCoreApp 2.2
- Dapper (>= 1.50.7)
- EDennis.JsonUtils (>= 1.3.0)
- JsonDiffPatch (>= 2.0.49)
- Microsoft.AspNetCore.Hosting (>= 2.2.0)
- Microsoft.AspNetCore.TestHost (>= 2.2.0)
- System.Data.SqlClient (>= 4.6.0)
- xunit.abstractions (>= 2.0.3)
- xunit.extensibility.core (>= 2.4.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on EDennis.NetCoreTestingUtilities:
Package | Downloads |
---|---|
EDennis.AspNetCore.Base
Alpha version that still requires (a) updated code comments, (b) updated wiki documentation, and (c) completed sample solution |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
3.8.6 | 1,221 | 2/4/2020 |
3.8.5 | 725 | 2/3/2020 |
3.8.4 | 741 | 2/3/2020 |
3.8.3 | 951 | 2/3/2020 |
3.8.2 | 819 | 1/28/2020 |
3.8.1 | 657 | 1/22/2020 |
3.8.0 | 703 | 1/22/2020 |
3.7.9 | 858 | 1/11/2020 |
3.7.8 | 808 | 1/11/2020 |
3.7.7 | 735 | 1/9/2020 |
3.7.6 | 807 | 1/9/2020 |
3.7.5 | 792 | 1/9/2020 |
3.7.4 | 757 | 1/9/2020 |
3.7.3 | 716 | 1/9/2020 |
3.7.2 | 794 | 1/4/2020 |
3.7.1 | 732 | 1/2/2020 |
3.7.0 | 665 | 1/2/2020 |
3.6.7 | 781 | 12/19/2019 |
3.6.6 | 728 | 12/19/2019 |
3.6.5 | 767 | 12/18/2019 |
3.6.4 | 730 | 12/12/2019 |
3.6.3 | 709 | 12/12/2019 |
3.6.2 | 673 | 12/12/2019 |
3.6.1 | 719 | 12/10/2019 |
3.6.0 | 732 | 10/22/2019 |
3.5.0 | 718 | 10/8/2019 |
3.4.8 | 808 | 9/12/2019 |
3.4.7 | 789 | 9/10/2019 |
3.4.6 | 830 | 8/16/2019 |
3.4.5 | 819 | 6/21/2019 |
3.4.3 | 776 | 5/7/2019 |
3.4.2 | 785 | 5/7/2019 |
3.4.1 | 785 | 5/3/2019 |
3.4.0 | 6,257 | 3/25/2019 |
3.3.1 | 808 | 3/5/2019 |
3.3.0 | 812 | 3/5/2019 |
3.2.2 | 5,118 | 2/20/2019 |
3.2.1 | 819 | 2/8/2019 |
3.2.0 | 901 | 12/15/2018 |
3.1.0 | 1,579 | 11/19/2018 |
3.0.0 | 1,567 | 9/25/2018 |
2.9.9 | 1,514 | 9/24/2018 |
2.9.8 | 1,565 | 9/24/2018 |
2.9.7 | 1,773 | 9/21/2018 |
2.9.6 | 1,652 | 9/21/2018 |
2.9.5 | 1,816 | 9/21/2018 |
2.9.4 | 1,736 | 9/20/2018 |
2.9.3 | 1,749 | 9/18/2018 |
2.9.2 | 1,759 | 9/18/2018 |
2.9.1 | 1,649 | 9/17/2018 |
2.9.0 | 1,584 | 9/11/2018 |
2.8.4 | 1,024 | 8/16/2018 |
2.8.3 | 1,071 | 8/10/2018 |
2.8.2 | 1,091 | 8/9/2018 |
2.8.1 | 1,138 | 8/9/2018 |
2.8.0 | 1,126 | 8/9/2018 |
2.7.2 | 1,097 | 8/7/2018 |
2.7.1 | 1,108 | 8/7/2018 |
2.7.0 | 1,024 | 8/6/2018 |
2.6.0 | 1,078 | 8/2/2018 |
2.5.4 | 1,076 | 7/23/2018 |
2.5.3 | 1,058 | 7/23/2018 |
2.5.2 | 1,182 | 6/21/2018 |
2.5.1 | 1,096 | 6/15/2018 |
2.5.0 | 1,172 | 6/6/2018 |
2.4.1 | 1,101 | 6/4/2018 |
2.4.0 | 1,169 | 5/25/2018 |
2.3.9 | 1,227 | 5/2/2018 |
2.3.8 | 1,196 | 4/17/2018 |
2.3.7 | 1,340 | 4/6/2018 |
2.3.6 | 1,284 | 3/23/2018 |
2.3.5 | 1,174 | 3/9/2018 |
2.3.4 | 1,209 | 3/9/2018 |
2.3.3 | 1,075 | 3/8/2018 |
2.3.2 | 1,087 | 3/8/2018 |
2.3.1-alpha | 1,140 | 3/6/2018 |
2.2.4 | 1,214 | 3/3/2018 |
2.2.3.1 | 1,225 | 3/3/2018 |
2.2.3 | 1,190 | 3/3/2018 |
2.2.2 | 1,158 | 2/21/2018 |
2.2.1 | 1,166 | 2/21/2018 |
2.2.0 | 1,172 | 2/10/2018 |
2.1.1 | 1,110 | 2/8/2018 |
2.1.0.1 | 1,266 | 12/21/2017 |
2.1.0 | 1,308 | 12/21/2017 |
2.0.0 | 1,176 | 12/21/2017 |
1.0.0.1 | 1,243 | 12/3/2017 |
1.0.0 | 1,591 | 11/30/2017 |
Added TestJsonRetriever class with GetObject<T> method for retrieving TestJson records from the database. In the TestJson table, test parameters are spread across multiple rows. Accordingly, special handling is required to retrieve a record that meets several criteria.