Skip to content
SPECIFICTION
Get listed

CsCheck vs StreamData

CsCheck

github.com

StreamData

github.com

Side by side

FigureCsCheckStreamData
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
API—Yes
Self-hostedYes—
Plans published11
Spec score · Property-Based Testing Tools8.0 (#6)7.0 (#23)
GeneratorsIts composable Gen classes support automatic shrinking without Arb classes.It provides generators and functions for combining them into custom generators.
InstallationNuGet lists CsCheck 4.9.1 and documents installation with the .NET CLI package command and PackageReference.The README instructs users to add the stream_data dependency and run mix deps.get.
ReproducibilityShrunk cases have a seed value that can be used to reproduce a failure.The README says failures can be reproduced by reusing the seed that caused them; it does not support storing counter-examples in a file.

Plans

CsCheck

  • CsCheckFree

CsCheck pricing →

StreamData

  • StreamDataFree

StreamData pricing →

In their own words

CsCheck

CsCheck is a free C# random testing library inspired by QuickCheck, intended for self-hosted use. Its composable Gen classes shrink generated cases automatically without Arb classes, and a shrunk case includes a seed that can reproduce a failure. The library supports random, model-based, metamorphic, performance, specification, regression, parallel and equality testing. Parallel tests compare outcomes with possible linearizations and support shrinking. Specification checks can enumerate reachable state spaces exhaustively or sample them, and can test whether declared faults are caught. Its Faster function statistically compares methods to assess whether one is faster and can run as a normal test across platforms. Example tests use TUnit, though the project says CsCheck can be used with any testing framework. The project page reports more than 1,000 F# tests using CsCheck in MKL.NET. NuGet lists version 4.9.1 and installation instructions for the .NET CLI and PackageReference. The project notes that generic recursion limits AOT compatibility; its Dbg module is temporary and may change between minor versions.

Visit github.com

StreamData

StreamData has no write-up on Specifiction yet; its figures are above.

Visit github.com