There are three types of tests for Zaqar:
Tempest tests are integration tests for OpenStack [1].
Tempest tests for Zaqar are available in the Tempest repository.
Refer to Running tests document for details on how to run Unit and Functional tests.
Refer to the Tempest repository for details on how to run Tempest tests.
The test suite lives in zaqar/tests
directory of Zaqar:
zaqar/tests/etc
zaqar/tests/functional
zaqar/tests/unit
The base class of all test classes is located in the zaqar/tests/base.py
file.
When you run tests via tox -e py27
command in the root directory of Zaqar:
Tox program executes:
tox.ini
file..tox
directory for storing python environments.tox.ini
You can find more information about Tox in OpenStack Tox testing manual and in official Tox documentation.
Testr (Test Repository) program executes:
testr.ini
file..testrepository
directory for storing statistics of
executing tests.Subunit
program which finds all tests and
executes it.You can find more information about Testr in OpenStack Testr manual.
Footnotes
[1] | See https://docs.openstack.org/tempest/latest/#overview |
Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.