Proptest vs Racket QuickCheck
Proptest
proptest-rs.github.ioRacket QuickCheck
docs.racket-lang.orgSide by side
| Figure | Proptest | Racket QuickCheck |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Web | Yes | — |
| Windows | — | Yes |
| macOS | — | Yes |
| Linux | — | Yes |
| Plans published | 0 | 1 |
| Spec score · Property-Based Testing Tools | 7.0 (#20) | 8.2 (#4) |
| Default test count | The default number of successful test cases required for a test to pass is 256. | The default configuration runs 100 tests, and the documentation provides settings for 1,000 and 10,000 tests. |
| Purpose | Proptest is a property testing framework for Rust inspired by Python’s Hypothesis framework. | Quickcheck tests program specifications by running properties against randomly generated test inputs. |
Plans
In their own words
Proptest
Proptest has no write-up on Specifiction yet; its figures are above.
Racket QuickCheck
Racket QuickCheck is a free package for checking program properties with generated inputs. A property is written as ordinary Racket code, and the package runs it against generated values; if a check fails, it reports a counterexample and the arguments that produced it. Its default configuration runs 100 successful tests, and helpers allow counts of 1,000, 10,000, or a custom number. Built-in generators cover integers, real numbers, characters, lists, vectors, strings, and symbols, and custom generators are supported. The `rackunit/quickcheck` integration raises a RackUnit exception when a check fails and includes the test count and counterexample arguments. Install the package with `raco pkg install quickcheck` or through DrRacket’s GUI package manager. It requires Racket v6.0 or newer. Racket provides installers for Linux, macOS, and Windows. The package listing reports a successful build and passing tests, while also noting missing license metadata. The listed price is free.