NTestCaseBuilder 2.4.0
See the version list below for details.
dotnet add package NTestCaseBuilder --version 2.4.0
NuGet\Install-Package NTestCaseBuilder -Version 2.4.0
<PackageReference Include="NTestCaseBuilder" Version="2.4.0" />
paket add NTestCaseBuilder --version 2.4.0
#r "nuget: NTestCaseBuilder, 2.4.0"
// Install NTestCaseBuilder as a Cake Addin #addin nuget:?package=NTestCaseBuilder&version=2.4.0 // Install NTestCaseBuilder as a Cake Tool #tool nuget:?package=NTestCaseBuilder&version=2.4.0
This is a .NET library that generates sets of test cases, for use by parameterised tests.
Each test case is built up progressively from smaller pieces of data that are combined together.
The smallest pieces are referred to as 'test variables'. Each test variable is constrained to take values from its own set of allowed 'levels'.
Changing each test variable independently to a new level produces a new test case.
If a test requires a certain 'strength' of coverage of combinations of levels from different test variables, the library produces a stream of test cases that honour this guarantee while avoiding getting swamped with a combinatoric explosion of test cases.
If a parameterised test fails with an exception for a specific test case, the library creates a signature that allows it to reproduce the failing test case immediately in a separate test; this is to aid debugging.
The sources are written in F#, but the API can be used just as comfortably from C# as from F#.
The documentation is on the front page of the GitHub site: https://github.com/sageserpent-open/NTestCaseBuilder.
You can also find sample code ready to run by installing the NuGet samples package: NTestCaseBuilder.Samples.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net40 is compatible. net403 was computed. net45 was computed. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- C5 (>= 2.2.5073.27396)
- FSharp.Core.3 (>= 0.0.2)
- FSPowerPack.Community (>= 3.0.0)
- NUnit.Runners (>= 2.6.3)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on NTestCaseBuilder:
Package | Downloads |
---|---|
NTestCaseBuilder.Samples
NTestCaseBuilder library samples. It will add some C# sample files into a folder 'Samples\NTestCaseBuilder' within the referencing project. These samples can be built and run, mostly as NUnit tests. |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.5.1 | 2,313 | 5/16/2014 |
2.5.0 | 1,183 | 5/11/2014 |
2.4.0 | 1,684 | 2/17/2014 |
2.3.0 | 1,439 | 1/31/2014 |
2.2.0.1 | 1,205 | 11/16/2013 |
2.2.0 | 1,850 | 10/27/2013 |
2.1.1 | 1,260 | 10/13/2013 |
2.1.0 | 1,444 | 10/13/2013 |
2.0.0 | 1,965 | 10/6/2013 |
1.3.3 | 1,584 | 2/26/2013 |
1.3.2 | 1,546 | 2/25/2013 |
1.3.1 | 1,476 | 2/3/2013 |
1.3.0 | 1,250 | 1/18/2013 |
1.2.2 | 1,237 | 1/7/2013 |
1.2.1 | 1,234 | 1/7/2013 |
1.2.0 | 1,466 | 9/19/2012 |