Imported Debian patch 4.7.2-3
This commit is contained in:
committed by
Mario Fetka
parent
27edeba051
commit
8bc559c5a1
@@ -22,32 +22,42 @@ ipa\-run\-tests \- Run the FreeIPA test suite
|
||||
.SH "SYNOPSIS"
|
||||
ipa\-run\-tests [options]
|
||||
.SH "DESCRIPTION"
|
||||
ipa\-run\-tests is a wrapper around Pytest that run the FreeIPA test suite.
|
||||
ipa\-run\-tests is a wrapper around nosetests that run the FreeIPA test suite.
|
||||
It is intended to be used for developer testing and in continuous
|
||||
integration systems.
|
||||
|
||||
It loads IPA-internal Nose plugins ordered-tests and beakerlib.
|
||||
The ordered-tests plugin is enabled automatically.
|
||||
|
||||
The FreeIPA test suite installed system\-wide is selected via Nose's \-\-where
|
||||
option.
|
||||
It is possible to select a subset of the entire test suite by specifying
|
||||
a test file relative to the ipatests package, for example:
|
||||
|
||||
ipa-run-tests test_integration/test_simple_replication.py
|
||||
|
||||
.SH "OPTIONS"
|
||||
All command-line options are passed to the underlying Pytest runner.
|
||||
See "pytest --help" for a complete list.
|
||||
All command-line options are passed to the underlying Nose runner.
|
||||
See nosetests(1) for a complete list.
|
||||
|
||||
The internal IPA plugins add an extra option:
|
||||
|
||||
.TP
|
||||
\fB\-\-with-beakerlib\fR
|
||||
Enable BeakerLib integration.
|
||||
Test phases, failures and passes, and log messages are reported using
|
||||
beakerlib(1) commands.
|
||||
This option requires the beakerlib.sh script to be sourced.
|
||||
|
||||
.SH "EXIT STATUS"
|
||||
Running pytest can result in six different exit codes:
|
||||
Exit code 0: All tests were collected and passed successfully
|
||||
Exit code 1: Tests were collected and run but some of the tests failed
|
||||
Exit code 2: Test execution was interrupted by the user
|
||||
Exit code 3: Internal error happened while executing tests
|
||||
Exit code 4: pytest command line usage error
|
||||
Exit code 5: No tests were collected
|
||||
0 if the command was successful
|
||||
|
||||
nonzero if any error or failure occurred
|
||||
|
||||
.SH "CONFIGURATION"
|
||||
Please see ipa-test-config(1) for a description of configuration environment
|
||||
variables.
|
||||
|
||||
.SH "REFERENCES"
|
||||
A full description of the FreeIPA testing is available at
|
||||
https://www.freeipa.org/page/Testing
|
||||
A full description of the FreeIPA integration testing framework is available at
|
||||
http://www.freeipa.org/page/V3/Integration_testing
|
||||
|
||||
Reference in New Issue
Block a user