Skip to content
SPECIFICTION
Get listed

CsCheck vs PropEr

CsCheck

github.com

PropEr

proper-testing.github.io

Side by side

FigureCsCheckPropEr
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Self-hostedYesYes
Plans published11
Spec score · Property-Based Testing Tools8.0 (#6)7.5 (#14)
InstallationNuGet lists CsCheck 4.9.1 and documents installation with the .NET CLI package command and PackageReference.The user guide describes obtaining source from GitHub, compiling it with make, or installing it with Homebrew.

Plans

CsCheck

  • CsCheckFree

CsCheck pricing →

PropEr

  • PropErFree

PropEr 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

PropEr

PropEr is a free, open-source testing tool for Erlang programs. It performs automated, semi-random property-based testing and can generate input data from Erlang type declarations. Functions can be tested automatically from information in their Erlang specifications, while properties are written as Erlang expressions with predefined macros. PropEr also supports model-based random testing for stateful systems and targeted property-based testing using search-based techniques. Failing cases can be shrunk, and the project supports EUnit and Common Test. Constraints that Erlang’s type language cannot express can be handled with custom generators; filtering may keep trying random values until one passes. The generator language differs from Erlang’s type language for list expressions, including support for particular list lengths and element types. PropEr is self-hosted, supports Erlang, and is distributed under GPL version 3 or later. The guide describes installation from GitHub source, with make, or through Homebrew.

Visit proper-testing.github.io