Skip to content
SPECIFICTION
Get listed

CsCheck vs PropCheck

CsCheck

github.com

PropCheck

github.com

Side by side

FigureCsCheckPropCheck
Price fromFreeFree
Free planYesYes
Free trial——
Open source——
Linux—Yes
Self-hostedYesYes
Plans published11
Spec score · Property-Based Testing Tools8.0 (#6)8.0 (#7)
GeneratorsIts composable Gen classes support automatic shrinking without Arb classes.It includes generators for common Ruby data types and a DSL for defining custom generators.
InstallationNuGet lists CsCheck 4.9.1 and documents installation with the .NET CLI package command and PackageReference.The README says to add `gem 'prop_check'` to a Gemfile or install it with `gem install prop_check`.
Support and contributionsThe README invites contributions through pull requests for new Gen classes or extensions.The README invites bug reports and pull requests on GitHub.

Plans

CsCheck

  • CsCheckFree

CsCheck pricing →

PropCheck

  • Community libraryFree

PropCheck 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

PropCheck

PropCheck is a Ruby library for property-based testing: it generates inputs and checks whether assertions hold across them. When a generated example fails, it tries to simplify that case into a smaller counterexample. Built-in generators cover integers, floats, strings, symbols, arrays, hashes, sets, dates, times and datetimes. A generator DSL lets developers define their own, while the API also supports mapping and binding values, alternatives and weighted frequency choices.

Before, after and around hooks provide setup and cleanup around generated examples. The README gives usage examples for RSpec, MiniTest, test-unit and vanilla Ruby, and says the library has no external dependencies. PropCheck requires Ruby 2.5.1 or later and is released under the MIT License. It is available as a free Community library. Installation can be done through a Gemfile or with `gem install prop_check`. For generated examples involving a database, the README recommends cleaning database state around each example and mentions DatabaseCleaner. Stateful property testing is described as a possible future separate add-on.

Visit github.com