There are three types of tests for Zaqar:
This document focuses on the unit and functional tests. Please refer to the Tempest repository for details on how to run these tests.
The test suite lives in two directories:
Thus base class and all common tests for storage drivers are located in the zaqar/tests/queues/storage/base.py file. The specific instances of the base classes for any particular storage driver are located at the tests/unit/queues/storage/ directory. See tests/unit/queues/storage/test_impl_mongodb.py for example.
Similarly, unit tests for the transport layer are located in zaqar/tests/queues/transport and are run from classes located in the tests/unit/queues/transport directory.
All functional tests for Zaqar are located in the tests/functional directory.
Footnotes
[1] | See http://docs.openstack.org/developer/tempest/overview.html |