Skip to main content

OpenStack DNS As A Service (Designate) Functional Tests

Project description

Team and repository tags

https://governance.openstack.org/tc/badges/designate-tempest-plugin.svg

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

designate-tempest-plugin-0.22.0.tar.gz (113.9 kB view hashes)

Uploaded Source

Built Distribution

designate_tempest_plugin-0.22.0-py3-none-any.whl (161.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page