[ANN] QCheck 0.23

I’m happy to announce the 0.23 release of qcheck-core, qcheck, qcheck-alcotest, and qcheck-ounit, along with a 0.5 release of ppx_deriving_qcheck :tada:

The biggest user-visible change is the addition of a qcheck-core overview documentation page as well as clean-ups to the two module pages to provide a better overview of the different available features:

In more detail the 0.23 release has made the following changes:

  • Quote and escape in Print.string and Print.char in the QCheck module, mirroring the QCheck2.Print module’s behaviour. Also quote and escape Print.bytes in both QCheck and QCheck2.
  • Clean-up QCheck and QCheck2 documentation pages
  • Add exponential generator to QCheck, QCheck.Gen, and QCheck2.Gen
  • Add Shrink.bool and use it in QCheck.bool
  • Remove unread fun_gen field from QCheck2’s fun_repr_tbl type thereby silencing a compiler warning

The ppx_deriving_qcheck 0.5 release contains a fix to derive generators for mutually recursive data types involving records, thanks to a contribution from @Kakadu

Happy testing! :smiley:

13 Likes