-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #302 from jmid/doc-polish
Documentation polish
- Loading branch information
Showing
7 changed files
with
660 additions
and
514 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
(documentation | ||
(package qcheck-core) | ||
(mld_files index)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
{0 qcheck-core} | ||
|
||
The [qcheck-core] opam package contains two libraries: | ||
|
||
- The [qcheck-core] library for defining property-based tests | ||
- The [qcheck-core.runner] library for running property-based tests | ||
|
||
{1: The [qcheck-core] library} | ||
|
||
The [qcheck-core] library exposes two toplevel modules: | ||
|
||
- {!QCheck} is the initial property-based-testing module and | ||
- {!QCheck2} is 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 | ||
{{!QCheck2.migration_qcheck2}migration guide}. Please | ||
file an issue if you encounter problems using either of the two | ||
modules. | ||
|
||
{1: 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, or | ||
- {!QCheck_base_runner.run_tests_main}, which can be controlled via command-line arguments |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.