Skip to content

Latest commit

 

History

History
27 lines (19 loc) · 1.01 KB

2.5. Usage - Non-Interactive Mode.md

File metadata and controls

27 lines (19 loc) · 1.01 KB

Non-Interactive Mode

The testing tool supports non-interactive operation in order to use it within continuous integration systems. An example of this usage can be seen below:

# List the available test suites
python3 nmos-test.py --list-suites

# List the available tests for a given test suite
python3 nmos-test.py suite IS-04-02 --list-tests

# Run just the 'auto' tests for the given suite, saving the output as a JUnit XML file
python3 nmos-test.py suite IS-04-02 --selection auto --host 128.66.12.5 128.66.12.6 --port 80 80 --version v1.2 v1.2 --ignore auto_5 auto_6 --output results.xml

# Run a test suite which doesn't require certain parameters to be present
python3 nmos-test.py suite IS-09-02 --host 128.66.12.5 null --port 0 0 --version null v1.0 --output results.xml

To display additional information about the available command-line options:

# Show the usage
python3 nmos-test.py -h

# Show the specific options for the 'suite' command
python3 nmos-test.py suite -h