Side by side
PropCheck vs QCheck
Both stand on property-based testing tools. Which one you can start free with, which one lets you read the code, and what each costs once you pay.
Free plan LinuxSelf-hosted
PropCheck combines generated-input testing with shrinking, hooks, and integrations for several Ruby test frameworks. Check its Ruby requirement and the listed unfinished project items before adopting it.
Visit PropCheck Free plan Linux
QCheck combines random generation, failure-case shrinking, and several runner and integration options for OCaml testing. The project describes QCheck2 as less battle-tested, so that maturity distinction is worth considering when choosing its API.
Visit QCheckThe facts
| PropCheck | QCheck | |
|---|---|---|
| Free plan | Yes | Yes |
| Open source | Not published | Not published |
| Runs on | Linux, Self-hosted | Linux |
| Lowest paid plan | Free or on request | Free or on request |
| Plans published | 1 | 1 |
| Maker | Not published | Not published |
| Website | github.com | github.com |
| On property-based testing tools | #8 of 28 | #12 of 28 |
PropCheck: what it does well
- Built-in generators cover common Ruby data types.
- Failing cases are reduced to counterexamples.
- Custom generators can be defined with a DSL.
- No external dependencies are required.
- Free under the MIT License.
What to know first
- Requires Ruby 2.5.1 or later.
- Stateful property testing is described as a possible future add-on.
- Several project items are listed as unfinished before v1.0.
QCheck: what it does well
- Generators cover lists, arrays, tuples, and recursive types.
- QCheck2 integrates shrinking into generators.
- OUnit and Alcotest integration layers are available.
- qcheck-core depends only on unix and dune.
- The project uses the BSD-2-Clause license.
What to know first
- QCheck2 is described as less battle-tested than QCheck.
- The library supports OCaml.
Alternatives to PropCheck Alternatives to QCheck The whole list