ipa-run-tests(1) FreeIPA Manual Pages ipa-run-tests(1)

# [NAME](#NAME)

ipa-run-tests - Run the FreeIPA test suite

# [SYNOPSIS](#SYNOPSIS)

ipa-run-tests \[options]

# [DESCRIPTION](#DESCRIPTION)

ipa-run-tests is a wrapper around Pytest that run the FreeIPA test suite. It is intended to be used for developer testing and in continuous integration systems.

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

# [OPTIONS](#OPTIONS)

All command-line options are passed to the underlying Pytest runner. See "pytest --help" for a complete list.

# [EXIT STATUS](#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

# [CONFIGURATION](#CONFIGURATION)

Please see [ipa-test-config(1)](/man/enterprise-packages/freeipa/ipa-test-config.1) for a description of configuration environment variables.

# [REFERENCES](#REFERENCES)

A full description of the FreeIPA testing is available at https://www.freeipa.org/page/Testing

Aug 29 2013 FreeIPA

---

Document: ipa-run-tests(1) from freeipa 4.13.4-r3 (Chainguard OS)
Source: https://pagure.io/freeipa.git
