blazar-tempest-plugin/doc/source/usage.rst
Tetsuro Nakamura 8ece6590c9 Adds /os-hosts api tests using gabbi
This patch adds /os-host api tests using gabbi. Tests for /leases
api will be added in a following patch.

Depends-On: https://review.openstack.org/581939
Depends-On: https://review.openstack.org/580538
Change-Id: Ic8dc7b1942f312d6dcbe5f2ad6a73289eaf7c838
2018-07-17 21:16:41 +09:00

480 B

Usage

The api tests are defined in .yaml files and should be executed in the order in the file. To do this, set group_regex parameter in .stestr.conf:

group_regex=blazar_tempest_plugin\.tests\.api\.test_blazar_api

or, you can also save the test order by setting the number of test workers to one via tempest run options:

$ tempest run --regex blazar_tempest_plugin --serial

or:

$ tempest run --regex blazar_tempest_plugin --concurrency=1