package qcheck-core
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page
Core QCheck library
Install
dune-project
Dependency
Authors
Maintainers
Sources
v0.26.tar.gz
md5=3eba3b3b47ccfa48afd1ce7dbdd463f7
sha512=6f4749df32629b2a64034f7a8d07079b8d3d628cc402c52bbdbd7e287ca20adf8e8133f91d79e75d8402100715a1138d62904b2d9c1d1595602d5206e0862305
doc/index.html
qcheck-core
The qcheck-core opam package contains two libraries:
- The
qcheck-corelibrary for defining property-based tests - The
qcheck-core.runnerlibrary for running property-based tests
The qcheck-core library
The qcheck-core library exposes two toplevel modules:
QCheckis the initial property-based-testing module andQCheck2is a newer property-based-testing module supporting integrated shrinking
Of the two, QCheck is the most battle-tested module. QCheck2 on the other hand offers integrated shrinking, thus removing the need for having to hand-write shrinkers.
QCheck tests can be ported to QCheck2 by following the migration guide. Please file an issue if you encounter problems using either of the two modules.
The qcheck-core.runner library
The entry point of the qcheck-core.runner library is the QCheck_base_runner module.
One can run a list of property-based tests by calling either
QCheck_base_runner.run_tests, which accepts a number of optional arguments, orQCheck_base_runner.run_tests_main, which can be controlled via command-line arguments
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page