[ANN] QCheck 0.24

QCheck 0.26 is now available from your favorite opam repository! :tada:

The 0.26 release adjusts the QCheck and QCheck2 float generator distributions, which was previously confined to a subset of floating point numbers. Users may experience that existing tests known to pass start to fail with the new and broader distribution. In addition the release contains a number of other fixes and documentation improvements, incl. the removal of an annoying newline which would cause the test suite to fail on OCaml 5.4.0:

  • Align printed collect statistics and also add a percentage
  • Fix QCheck{,2}.Gen.float generator which would only generate numbers with an exponent between 2^{-21} and 2^{22}
  • Elaborate on the QCheck/QCheck2 situation in the README
  • Add a missing description field to the *.opam files
  • Document Shrink invariants in the QCheck module
  • Fix a qcheck-ounit test suite failure on OCaml 5.4, removing a needless extra newline
  • Fix QCheck2 float_range operator which would fail on negative bounds
  • Fix QCHECK_MSG_INTERVAL not being applied to the first in-progress message

Thanks to @Pat-Lafon, @rmonat, and @kit-ty-kate for contributing! :pray:

7 Likes