2013-08-13 11:32:36 -05:00
|
|
|
.\" A man page for ipa-run-tests
|
|
|
|
.\" Copyright (C) 2013 Red Hat, Inc.
|
|
|
|
.\"
|
|
|
|
.\" This program is free software; you can redistribute it and/or modify
|
|
|
|
.\" it under the terms of the GNU General Public License as published by
|
|
|
|
.\" the Free Software Foundation, either version 3 of the License, or
|
|
|
|
.\" (at your option) any later version.
|
|
|
|
.\"
|
|
|
|
.\" This program is distributed in the hope that it will be useful, but
|
|
|
|
.\" WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
.\" General Public License for more details.
|
|
|
|
.\"
|
|
|
|
.\" You should have received a copy of the GNU General Public License
|
|
|
|
.\" along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
.\"
|
|
|
|
.\" Author: Petr Viktorin <pviktori@redhat.com>
|
|
|
|
.\"
|
|
|
|
.TH "ipa-run-tests" "1" "Aug 29 2013" "FreeIPA" "FreeIPA Manual Pages"
|
|
|
|
.SH "NAME"
|
|
|
|
ipa\-run\-tests \- Run the FreeIPA test suite
|
|
|
|
.SH "SYNOPSIS"
|
|
|
|
ipa\-run\-tests [options]
|
|
|
|
.SH "DESCRIPTION"
|
2019-07-08 03:35:23 -05:00
|
|
|
ipa\-run\-tests is a wrapper around Pytest that run the FreeIPA test suite.
|
2013-08-13 11:32:36 -05:00
|
|
|
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
|
|
|
|
|
|
|
|
.SH "OPTIONS"
|
2019-07-08 03:35:23 -05:00
|
|
|
All command-line options are passed to the underlying Pytest runner.
|
|
|
|
See "pytest --help" for a complete list.
|
2013-08-13 11:32:36 -05:00
|
|
|
|
|
|
|
.SH "EXIT STATUS"
|
2019-07-08 03:35:23 -05:00
|
|
|
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
|
2013-08-13 11:32:36 -05:00
|
|
|
|
|
|
|
.SH "CONFIGURATION"
|
|
|
|
Please see ipa-test-config(1) for a description of configuration environment
|
|
|
|
variables.
|
|
|
|
|
|
|
|
.SH "REFERENCES"
|
2019-07-08 03:35:23 -05:00
|
|
|
A full description of the FreeIPA testing is available at
|
|
|
|
https://www.freeipa.org/page/Testing
|