Releases: c-cube/qcheck
Releases · c-cube/qcheck
0.18
This releases marks the addition of QCheck2
, a module where generation
and shrinking are better integrated.
See #109 and #116.
This API is still experimental. The normal QCheck
module is still there
and hasn't changed much.
deprecations and breakges:
- make
QCheck.Test_result.t
abstract and add missing getters - deprecate
QCheck.oneof
- deprecate
Gen.string_readable
in favor ofGen.(string_of char)
or the newGen.string_printable
- require at least OCaml 4.08
other changes:
- unsigned int32 and int64
- rename
small_int_corners
- add
?ratio
toopt
, to modify random distribution of options
0.17
0.16
0.15
0.14
0.13
0.10
0.9
0.6
Large release with several new features:
- better generation of functions, with proper printing and shrinking
find_example
to leverage generators to produce values satisfying a predicate- colorful runners, so that results are easier to read
- better shrinkers and random generators
- gathering basic statistics and optionally displaying an histogram of sampled values