CsCheck 2.1.0

CsCheck is a C# random testing library inspired by QuickCheck.

It differs in that generation and shrinking are both based on PCG, a fast random number generator.

This gives the following advantages:

- Automatic shrinking. Gen classes are composable with no need for Arb classes. So less boilerplate.
- Random testing and shrinking are parallelized. This and PCG make it very fast.
- Shrunk cases have a seed value. Simpler examples can easily be reproduced.
- Shrinking can be continued later to give simpler cases for high dimensional problems.
- Concurrency testing and random shrinking work well together.

CsCheck also makes concurrency, performance and regression testing simple and fast.

There is a newer version of this package available.
See the version list below for details.
Install-Package CsCheck -Version 2.1.0
dotnet add package CsCheck --version 2.1.0
<PackageReference Include="CsCheck" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add CsCheck --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: CsCheck, 2.1.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install CsCheck as a Cake Addin
#addin nuget:?package=CsCheck&version=2.1.0

// Install CsCheck as a Cake Tool
#tool nuget:?package=CsCheck&version=2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added Sample and Faster tuple to Action/Func overloads.
Added DebugClassify to classify generator output.
Added Dbg module to collect info, share data and functions and regression test code while debugging.
Bug fix add Check.Faster hints for all Faster functions.
Bug fix for Hash file same process multiple runs.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories (2)

Showing the top 2 popular GitHub repositories that depend on CsCheck:

Repository Stars
dotnet/orleans
Orleans is a cross-platform framework for building distributed applications with .NET
ReubenBond/Hagar
Fast, flexible, and version-tolerant serializer for .NET

Version History

Version Downloads Last updated
2.3.1 131 5/28/2021
2.3.0 82 5/21/2021
2.2.4 49 5/4/2021
2.2.3 44 5/4/2021
2.2.2 41 5/3/2021
2.2.1 71 5/2/2021
2.2.0 56 4/30/2021
2.1.0 64 4/22/2021
2.0.0 92 4/2/2021
2.0.0-rc2 69 3/28/2021
2.0.0-rc1 69 3/18/2021
1.1.3 725 2/27/2021
1.1.2 414 12/17/2020
1.1.1 144 11/26/2020
1.1.0 384 11/20/2020
1.0.0 271 10/21/2020
0.9.8 274 10/1/2020
0.9.6 262 9/29/2020
0.9.5 256 9/25/2020
0.9.4 196 9/17/2020
0.9.3 200 9/14/2020
0.9.2 192 9/12/2020
0.9.1 140 8/24/2020
0.9.0 158 8/11/2020
0.8.2 168 7/17/2020
0.8.1 197 7/16/2020
0.8.0 143 7/16/2020
0.7.0 178 7/15/2020
0.6.1 172 7/14/2020
0.6.0 168 7/13/2020
0.5.0 292 7/11/2020
0.4.0 214 7/10/2020
0.3.0-preview 174 7/9/2020
0.2.3-preview 204 7/8/2020
0.2.2-preview 145 7/7/2020
0.2.1-preview 158 7/7/2020
0.2.0-preview 164 7/6/2020
0.1.0-preview 146 7/2/2020
Show less