1QTEST(1)                         User Commands                        QTEST(1)
2
3
4

NAME

6       qtest - Inline (Unit) Tests for OCaml
7

DESCRIPTION

9       USAGE: qtest [options] extract <file.mli?>...
10
11   OPTIONS:
12       -o
13
14       --output
15              <path>      (default: standard output) Open or create a file for
16              output; the resulting file will be an OCaml source file contain‐
17              ing all the tests
18
19       -p
20
21       --preamble
22              <string>   (default: empty) Add code to the tests preamble; typ‐
23              ically this will be an instruction of the form 'open Module'
24
25       --preamble-file
26              <path> Add the contents of the given file to the tests preamble
27
28       --run-only
29              <function name> Only generate tests pertaining to this function,
30              as indicated by the test header
31
32       --shuffle
33              (default: turned off) Toggle test execution order randomisation;
34              submodules using injection are not shuffled
35
36       -help  Display this list of options
37
38       --help Display this list of options
39
40
41
42qtest 2.10.1                     February 2020                        QTEST(1)
Impressum