Skip to content

Releases: c-cube/qcheck

0.18

10 Sep 18:01
2ad6a0f
Compare
Choose a tag to compare

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 of Gen.(string_of char) or the new Gen.string_printable
  • require at least OCaml 4.08

other changes:

  • unsigned int32 and int64
  • rename small_int_corners
  • add ?ratio to opt, to modify random distribution of options

0.17

15 Feb 21:46
Compare
Choose a tag to compare

many bugfixes, and addition of Gen.delay.

0.16

05 Nov 15:05
Compare
Choose a tag to compare

0.16, with a bugfix related to #99 and an improved default runner.

0.15

09 Sep 19:30
Compare
Choose a tag to compare
  • fix: in main runner, remove reset line in more places if colors=false
  • fix: invalid arg in int_range when a<0
  • fix(runner): do not use ansi code for random seed if colors=false
  • feat: on >=4.08, provide let operators

0.14

30 Jul 20:09
Compare
Choose a tag to compare
use dune-release

0.13

28 Jul 22:41
Compare
Choose a tag to compare
prepare for 0.13

0.10

09 Sep 15:34
Compare
Choose a tag to compare

0.9

18 Sep 04:22
Compare
Choose a tag to compare
0.9

release with

  • support for alcotest
  • separate package for ounit backend
  • dune as the main build system
  • 4 packages in total, including qcheck as a compatibility package

changelog

0.6

30 May 13:20
Compare
Choose a tag to compare
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

many thanks to @Gbury and @jmid for their help.

0.5.3

25 Jan 10:20
Compare
Choose a tag to compare

Incremental improvements to the generators (including the new small_list), to the documentation (more examples in the readme), and to the runners.