1ipa-run-tests(1) FreeIPA Manual Pages ipa-run-tests(1)
2
3
4
6 ipa-run-tests - Run the FreeIPA test suite
7
9 ipa-run-tests [options]
10
12 ipa-run-tests is a wrapper around Pytest that run the FreeIPA test
13 suite. It is intended to be used for developer testing and in continu‐
14 ous integration systems.
15
16 It is possible to select a subset of the entire test suite by specify‐
17 ing a test file relative to the ipatests package, for example:
18
19 ipa-run-tests test_integration/test_simple_replication.py
20
21
23 All command-line options are passed to the underlying Pytest runner.
24 See "pytest --help" for a complete list.
25
26
28 Running pytest can result in six different exit codes: Exit code
29 0: All tests were collected and passed successfully Exit code
30 1: Tests were collected and run but some of the tests failed Exit
31 code 2: Test execution was interrupted by the user Exit code
32 3: Internal error happened while executing tests Exit code
33 4: pytest command line usage error Exit code 5: No tests were col‐
34 lected
35
36
38 Please see ipa-test-config(1) for a description of configuration envi‐
39 ronment variables.
40
41
43 A full description of the FreeIPA testing is available at
44 https://www.freeipa.org/page/Testing
45
46
47
48FreeIPA Aug 29 2013 ipa-run-tests(1)