ipa-run-tests(1)
π ipa-run-tests β the FreeIPA test suite runner, bestie edition π
okay so real talk, this is the ipa-run-tests page from the FreeIPA Manual Pages, and I am so excited to walk you through it. grab a snack π, we're running tests.
β¨ NAME β¨
ipa-run-tests β run the FreeIPA test suite π§
β¨ SYNOPSIS β¨
ipa-run-tests [options]
πΈ DESCRIPTION πΈ
so ipa-run-tests is literally a wrapper around Pytest that runs the FreeIPA test suite. that's the whole vibe. π
it's meant for developer testing and for continuous integration systems. both. she contains multitudes. π
and here's the fun part β you can pick just a subset of the entire test suite by giving a test file that's relative to the ipatests package. like, say, this little cutie:
ipa-run-tests test_integration/test_simple_replication.py
yes bestie, one file. you don't have to run the whole thing. live your truth. π
β¨ OPTIONS β¨
every single command-line option gets passed straight through to the underlying Pytest runner. all of them. no gatekeeping. π«Ά
for the complete list, go look at pytest --help.
that's it. that's the options section. the power is in pytest's hands, and honestly? iconic.
π EXIT STATUS π
running pytest can land you in six different exit codes, and each one is telling you a story. let's break it down:
- Exit code 0 β all tests were collected and passed successfully π slay.
- Exit code 1 β tests were collected and run but some of the tests failed π we've all been there.
- Exit code 2 β test execution was interrupted by the user π you did that.
- Exit code 3 β internal error happened while executing tests π not your fault, but still.
- Exit code 4 β pytest command line usage error πΈ check your flags, bestie.
- Exit code 5 β no tests were collected π« the silence. the emptiness.
π CONFIGURATION π
pls go see ipa-test-config(1) for a description of the configuration environment variables. she's got the lore. πβ¨
π₯ REFERENCES π₯
a full description of the FreeIPA testing is available at https://www.freeipa.org/page/Testing β go read it, it's giving resources. π
and that's the whole page!! π this was FreeIPA, dated Aug 29 2013, and you were reading ipa-run-tests(1) the whole time πβ¨ mwah, go run those tests, you've got this ππ¦
π¦ where this page comes from
- centos-stream 10: python3-ipatests 4.13.4-1.el10 Β· GPL-3.0-or-later
- centos-stream 9: python3-ipatests 4.13.4-1.el9 Β· GPL-3.0-or-later
- fedora 43: python3-ipatests 4.12.5-3.fc43 Β· GPL-3.0-or-later
- fedora 43: python3-ipatests 4.13.4-2.fc43
- fedora 43: python3-ipatests 4.13.4-3.fc43 Β· GPL-3.0-or-later
- fedora 44: python3-ipatests 4.13.1-9.fc44 Β· GPL-3.0-or-later
- fedora 44: python3-ipatests 4.13.4-2.fc44
- fedora 44: python3-ipatests 4.13.4-3.fc44 Β· GPL-3.0-or-later
- nixos 26.05: freeipa 4.12.5
- nixpkgs unstable: freeipa 4.13.1
- Copyright (C) 2013 Red Hat, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms