73065cdaca
This patch adds a method that allows us to get the current Designate API version under test for use in test classes to skip tests against new features introduced in a specific API version. This patch also centralizes the "primary" zones client to be instantiated once and updates the tests to use a standardized name for the client. Finally, it adds a missing requirement of oslo.serialization to requirements.txt. Change-Id: I240911c0ab9b9bad7851268865d6a8e867627673 |
||
---|---|---|
designate_tempest_plugin | ||
doc | ||
releasenotes | ||
tools | ||
.gitignore | ||
.gitreview | ||
.stestr.conf | ||
.zuul.yaml | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
Tempest Integration of Designate
This directory contains Tempest tests to cover the designate project, as well as a plugin to automatically load these tests into tempest.
See the tempest plugin docs for information on using it: https://docs.openstack.org/tempest/latest/plugin.html#using-plugins
See the designate docs for information on writing new tests etc: https://docs.openstack.org/designate-tempest-plugin/latest/#writing-new-tests
Running the tests
To run all tests from this plugin, install designate into your environment and from the tempest repo, run:
$ tox -e all-plugin -- designate
To run a single test case, run with the test case name, for example:
$ tox -e all-plugin -- designate_tempest_plugin.tests.api.v2.test_zones.ZonesAdminTest.test_get_other_tenant_zone
To run all tempest tests including this plugin, run:
$ tox -e all-plugin