nitrile test
¶
This command tests the package according to the
tests
in nitrile.yml
.
Options¶
--except=CASE1[,CASE2,..]
¶
All tests except CASE1
, CASE2
, etc.
--except
cannot be combined with --only
.
--list
¶
Only print test names. The tests are not run.
--only=CASE1[,CASE2,..]
¶
Only test CASE1
, CASE2
, etc.
--only
cannot be combined with --except
.
--property-tester-options=OPTION[,OPTION,..]
¶
Adds options for property tests defined using
properties
. The following
options are supported:
compile-only
: only generate and compile the property tests to generate new test executables. The tests are not executed. By default, the property tests are executed.no-regenerate
: only execute the test executables. The tests are not regenerated.nr-of-tests:N
: perform a maximum of N tests for each property that is being tested. The default maximum number of tests to generate for each property is 1000.only:MODULE1[+MODULE2+..]
: only generate and run tests defined in the given modules. Multiple modules can be given using+
as a separator.
compile-only
and no-regenerate
can be used to build an
efficient CI pipeline.
--test-runner-options
¶
Adds options for running
property tests and
test-runner
tests. The
following options are supported:
parallel:PROCESSINDEX:PROCESSTOTAL
: only perform the tests for whichTEST INDEX % PROCESSTOTAL = PROCESSINDEX
. This is useful in CI.