Skip to main content
CsCheck package icon

CsCheck

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. - Parallel testing and random shrinking work well together. CsCheck also makes parallel, performance and regression testing simple and fast.

Total Downloads
533.6K
533,590
Published
Dec 12, 2025
Latest stable version

Install

.NET CLI
dotnet add package CsCheck --version 4.5.0
Package Manager Console
Install-Package CsCheck -Version 4.5.0
PackageReference
<PackageReference Include="CsCheck" Version="4.5.0" />

Frameworks

net8.0

Dependencies

No declared dependencies.

Adoption guide

Assess this package against its supported frameworks, license, maintenance signals and dependency graph before making it a project standard.

Compatibility metadata lists 1 target framework; confirm the exact target used by your application.

How to read this guidance

Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.

Useful next steps

Move from package metadata to a concrete selection or review workflow.