Scroll to navigation

QTEST(1) User Commands QTEST(1)

NAME

qtest - Inline (Unit) Tests for OCaml

DESCRIPTION

USAGE: qtest [options] extract <file.mli?>...

OPTIONS:

-o

<path> (default: standard output) Open or create a file for output; the resulting file will be an OCaml source file containing all the tests

-p

<string> (default: empty) Add code to the tests preamble; typically this will be an instruction of the form 'open Module'
<path> Add the contents of the given file to the tests preamble
<function name> Only generate tests pertaining to this function, as indicated by the test header
(default: turned off) Toggle test execution order randomisation; submodules using injection are not shuffled
Display this list of options
Display this list of options
September 2018 qtest 2.9