OpenStack DNS As A Service (Designate) Functional Tests
You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Go to file
Michael Johnson afdcc1c8f5 Update testing for show and list a shared zone
This patch updates the tests to account for projects that have a zone
shared with it can list and show the zone.

Change-Id: I218bbf0c4f6a1609b6500ccb91765959823bf911
4 days ago
designate_tempest_plugin Update testing for show and list a shared zone 4 days ago
doc Fix docs reqs for new pip 2 years ago
releasenotes Deprecate option for old api_export_size bug 9 months ago
tools Stop to use the __future__ module. 3 years ago
.gitignore Switch to stestr 5 years ago
.gitreview OpenDev Migration Patch 4 years ago
.stestr.conf Switch to stestr 5 years ago
.zuul.yaml Re-enable the tempest tests and add Antelope 2 months ago
LICENSE Initial layout of Designate tempest plugin 7 years ago
README.rst Update the README file to use tox -e all 3 months ago
requirements.txt Add tempest tests for shared zones 3 months ago
setup.cfg setup.cfg: Replace dashes with underscores 1 year ago
setup.py Cleanup py27 support 3 years ago
test-requirements.txt Fix docs reqs for new pip 2 years ago
tox.ini Add Designate hacking checks to the tempest plugin 4 months ago

README.rst

Team and repository tags

image

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

From the tempest directory, setup the tempest virtual environment for the designate tempest plugin:

$ tox -e venv-tempest -- pip3 install -e <path to designate-tempest-plugin>

For example, when using a typical devstack setup:

$ cd /opt/stack/tempest
$ tox -e venv-tempest -- pip3 install -e /opt/stack/designate-tempest-plugin

To run all tests from this plugin, install designate into your environment and from the tempest repo, run:

$ tox -e all -- designate

To run a single test case, run with the test case name, for example:

$ tox -e all -- designate_tempest_plugin.tests.api.v2.test_zones.ZonesTest.test_create_zones

To run all tempest tests including this plugin, run:

$ tox -e all