test
The test command runs a set of inputs against policies to test that their output is as expected.
Usage
Input test directory: -t <DIR>
The -t <DIR> argument specifies the a directory containing the root of a tree matching the test structure and containing a suite of test cases.
Pattern matching: -m <MATCH>
The -m <MATCH> argument may be used to specify a subset of tests to execute.
The MATCH argument prefix-matches against the name of the pattern under consideration joined with the named test.
There is no requirement that the MATCH argument be a complete name of a module, pattern or test.
Simple string-prefix matching occurs.
This argument may only be specified once.
For instance:
-
-m base64: would match all tests for all patterns in thebase64module. -
-m base64::base64: would match all tests for thebase64::base64pattern. -
-m base64::base64::valid-document: would match exactly thevalid-documenttest forbase64::base64.