FsCheck 2.7.1

FsCheck is a tool for testing .NET programs automatically. The programmer provides
a specification of the program, in the form of properties which functions, methods
or objects should satisfy, and FsCheck then tests that the properties hold in a
large number of randomly generated cases.
   
While writing the properties, you are actually writing a testable specification of your program.
   
Specifications are expressed in F#, C# or VB, using combinators defined
in the FsCheck library. FsCheck provides combinators to define properties,
observe the distribution of test data, and define test data generators.
When a property fails, FsCheck automatically displays a minimal counter example.

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package FsCheck -Version 2.7.1
dotnet add package FsCheck --version 2.7.1
paket add FsCheck --version 2.7.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Improve reflection based generator for union cases - now also detect if a union case is recursive via any number of other types.
Improve shrinking - when many possible values are tried, the shrinking was not tail recursive which could lead to stack overflow in rare situations. (by Lukas Rieger)
Improvements to Experimental.StateMachine: some stats about generated operations are now printed and shrinking of operations can be customized (by Silvio Marcovic). Also the Setup shrinking phase now works correctly.

Version History

Version Downloads Last updated
3.0.0-alpha3 19,083 12/30/2017
3.0.0-alpha2 5,363 10/19/2017
3.0.0-alpha1 610 9/26/2017
2.11.0 519 6/15/2018
2.10.10 6,903 5/15/2018
2.10.9 10,046 4/10/2018
2.10.8 15,358 3/3/2018
2.10.7 10,167 1/29/2018
2.10.6 7,427 12/30/2017
2.10.5 1,559 12/28/2017
2.10.4 34,976 11/8/2017
2.10.3 7,348 9/26/2017
2.10.2 6,171 9/25/2017
2.10.1 581 9/23/2017
2.10.0 10,493 9/7/2017
2.9.2 6,067 8/28/2017
2.9.1 244 8/27/2017
2.9.0 57,653 5/18/2017
2.9.0-rc3 3,031 5/7/2017
2.9.0-rc2 106 5/6/2017
2.9.0-rc1 106 5/6/2017
2.8.2 4,804 5/6/2017
2.8.1 574 5/1/2017
2.8.0 13,405 3/15/2017
2.7.2 5,253 3/5/2017
2.7.1 (current) 8,059 2/13/2017
2.7.0 6,537 1/15/2017
2.6.3 228 1/13/2017
2.6.2 79,572 10/7/2016
2.6.1 3,762 9/25/2016
2.6.0 29,949 8/3/2016
2.5.0 26,667 6/7/2016
2.4.0 10,643 4/20/2016
2.3.0 2,215 4/11/2016
2.2.5 2,682 3/28/2016
2.2.4 18,779 12/17/2015
2.2.3 2,694 11/26/2015
2.2.2 2,717 11/14/2015
2.2.1 885 11/5/2015
2.2.0 5,371 11/1/2015
2.1.0 8,036 9/30/2015
2.0.7 11,456 8/20/2015
2.0.6 535 8/14/2015
2.0.5 9,219 7/31/2015
2.0.4 2,745 7/20/2015
2.0.3 27,426 7/10/2015
2.0.2 281 7/7/2015
2.0.1 6,646 5/23/2015
2.0.1-rc1 181 5/23/2015
2.0.0-alpha 238 4/27/2015
1.0.4 14,489 12/9/2014
1.0.3 2,196 11/18/2014
1.0.2 960 10/27/2014
1.0.1 1,650 10/18/2014
1.0.0 3,465 8/3/2014
0.9.4 21,017 5/24/2014
0.9.3 782 5/9/2014
0.9.2 18,671 11/7/2013
0.9.1 3,080 7/2/2013
0.9.0.1 280 6/21/2013
0.9.0 363 6/18/2013
0.8.3 1,209 8/26/2012
0.8.2 437 7/4/2012
0.8.1 374 6/25/2012
0.7.1 876 5/29/2011
Show less