NTestCaseBuilder 2.5.1

This is a .NET library that generates sets of test cases, for use by parameterised tests.
       
Think of it as being a DSL for making 'object mothers', whose generated data can be used as test cases (or for any other purpose, for that matter).

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: https://www.nuget.org/packages/NTestCaseBuilder.Samples.

Install-Package NTestCaseBuilder -Version 2.5.1
dotnet add package NTestCaseBuilder --version 2.5.1
paket add NTestCaseBuilder --version 2.5.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Version History

Version Downloads Last updated
2.5.1 (current version) 735 5/16/2014
2.5.0 179 5/11/2014
2.4.0 224 2/17/2014
2.3.0 189 1/31/2014
2.2.0.1 181 11/16/2013
2.2.0 198 10/27/2013
2.1.1 202 10/13/2013
2.1.0 194 10/13/2013
2.0.0 205 10/6/2013
1.3.3 293 2/26/2013
1.3.2 231 2/25/2013
1.3.1 249 2/3/2013
1.3.0 228 1/18/2013
1.2.2 230 1/7/2013
1.2.1 224 1/7/2013
1.2.0 359 9/19/2012