QuickCheck inspired property-based testing for OCaml.
0.16, with a bugfix related to #99 and an improved default runner.
colors=false
int_range
when a<0colors=false
>=4.08
, provide let operatorsrelease with
qcheck
as a compatibility packageLarge release with several new features:
find_example
to leverage generators to produce values satisfying a predicatemany thanks to @Gbury and @jmid for their help.
Incremental improvements to the generators (including the new small_list
), to the documentation (more examples in the readme), and to the runners.
Main fix is to make small_int
back to its original behavior, introduce small_nat
for small positive integers instead. This matters because small_int
would often be used as the size generator of random collections.
This release also contains other bugfixes and the notion of long tests.
Bugfix release, with a few more functions for uniformity.