Flavio Percoco | b539b2d | 2016-11-24 23:52:09 +0100 | [diff] [blame] | 1 | ======================== |
| 2 | Team and repository tags |
| 3 | ======================== |
| 4 | |
ShangXiao | 7a68f73 | 2018-03-14 00:52:53 -0700 | [diff] [blame] | 5 | .. image:: https://governance.openstack.org/tc/badges/designate-tempest-plugin.svg |
| 6 | :target: https://governance.openstack.org/tc/reference/tags/index.html |
Flavio Percoco | b539b2d | 2016-11-24 23:52:09 +0100 | [diff] [blame] | 7 | |
| 8 | .. Change things from this point on |
| 9 | |
Kiall Mac Innes | 25fb29e | 2016-04-07 08:07:04 +0100 | [diff] [blame] | 10 | ================================ |
| 11 | Tempest Integration of Designate |
| 12 | ================================ |
| 13 | |
| 14 | This directory contains Tempest tests to cover the designate project, as well |
| 15 | as a plugin to automatically load these tests into tempest. |
| 16 | |
| 17 | See the tempest plugin docs for information on using it: |
ShangXiao | 7a68f73 | 2018-03-14 00:52:53 -0700 | [diff] [blame] | 18 | https://docs.openstack.org/tempest/latest/plugin.html#using-plugins |
Kiall Mac Innes | 25fb29e | 2016-04-07 08:07:04 +0100 | [diff] [blame] | 19 | |
| 20 | See the designate docs for information on writing new tests etc: |
ShangXiao | 7a68f73 | 2018-03-14 00:52:53 -0700 | [diff] [blame] | 21 | https://docs.openstack.org/designate-tempest-plugin/latest/#writing-new-tests |
Kiall Mac Innes | 25fb29e | 2016-04-07 08:07:04 +0100 | [diff] [blame] | 22 | |
| 23 | Running the tests |
| 24 | ----------------- |
| 25 | |
| 26 | To run all tests from this plugin, install designate into your environment |
| 27 | and from the tempest repo, run:: |
| 28 | |
| 29 | $ tox -e all-plugin -- designate |
| 30 | |
| 31 | To run a single test case, run with the test case name, for example:: |
| 32 | |
| 33 | $ tox -e all-plugin -- designate_tempest_plugin.tests.api.v2.test_zones.ZonesAdminTest.test_get_other_tenant_zone |
| 34 | |
| 35 | To run all tempest tests including this plugin, run:: |
| 36 | |
| 37 | $ tox -e all-plugin |