OpenStack DNS As A Service (Designate) Functional Tests
Go to file
Omer 070e4cb6bf Add designate-manage path to tempest via a devstack script
So far, designate-manage was available to use in
designate-tempest-plugin tests, but its path was not well known.

This patch adds a devstack script that would set a tempest.conf setting
for the designate-manage path.

Change-Id: I26203522aaee9bb498bea9a1561eee65f6588244
2024-11-25 21:13:43 +00:00
designate_tempest_plugin Add designate-manage path to tempest via a devstack script 2024-11-25 21:13:43 +00:00
devstack Add designate-manage path to tempest via a devstack script 2024-11-25 21:13:43 +00:00
doc doc: Update the module of services decorator 2024-03-28 12:02:34 +09:00
releasenotes Remove support for Pyton 3.6 and 3.7 2024-10-24 20:57:48 +09:00
tools Update hacking 2024-11-08 20:30:38 +00:00
.gitignore Switch to stestr 2018-07-12 14:13:12 +07:00
.gitreview OpenDev Migration Patch 2019-04-19 19:28:10 +00:00
.stestr.conf Switch to stestr 2018-07-12 14:13:12 +07:00
.zuul.yaml Remove stable/2023.1 job from master gate 2024-11-06 11:30:56 -08:00
LICENSE Initial layout of Designate tempest plugin 2016-04-07 08:08:46 +01:00
README.rst Update the README file to use tox -e all 2023-02-28 18:16:41 +00:00
requirements.txt Removes "DDT" module from Designate-Tempest-Plugin 2023-07-23 12:34:16 +03:00
setup.cfg Remove support for Pyton 3.6 and 3.7 2024-10-24 20:57:48 +09:00
setup.py Cleanup py27 support 2020-04-05 19:55:57 +00:00
test-requirements.txt Update hacking 2024-11-08 20:30:38 +00:00
tox.ini Update hacking 2024-11-08 20:30:38 +00:00

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