QuickCheck inspired property-based testing for OCaml.
QCheck is an OCaml library for property-based testing, inspired by QuickCheck. The project provides multiple opam packages: qcheck-core (the minimal core API depending only on Unix and Dune), qcheck-ounit (integration with the OUnit testing framework), qcheck-alcotest (integration with Alcotest), qcheck (a compatibility package), and ppx_deriving_qcheck (a preprocessor for automatic generator derivation). Related packages like qcheck-stm and qcheck-lin from the multicoretests repository extend the library for model-based and sequential consistency testing. QCheck is written in OCaml and includes a monadic interface for constructing random generators, with support for shrinking counterexamples and preconditions on properties.