Tempest plugin for the Zun project.
Go to file
Hongbin Lu 50ec15fd93 Move docker network cleanup logic
Right now, both container and capsule tests are doing docker
network cleanup at the end of the tests. This commit moves
the cleanup logic to a common base class so that the code becomes
more DRY.

Change-Id: I9320f73f68b50954e57a1b9f0e3cc01c53ba102a
2018-12-09 21:36:51 +00:00
doc/source switch documentation job to new PTI 2018-08-23 06:13:02 +00:00
releasenotes Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
zun_tempest_plugin Move docker network cleanup logic 2018-12-09 21:36:51 +00:00
.coveragerc Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
.gitignore Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
.gitreview Rename the namespace to zun_tempest_plugin 2017-09-20 18:22:43 +00:00
.mailmap Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
.testr.conf Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
.zuul.yaml switch documentation job to new PTI 2018-08-23 06:13:02 +00:00
babel.cfg Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
CONTRIBUTING.rst Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
HACKING.rst Replacing the link in HACKING.rst 2018-11-16 10:06:26 +08:00
LICENSE Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
README.rst Merge "Fix the command for running specific test" 2018-05-02 03:01:16 +00:00
requirements.txt Updated from global requirements 2018-03-14 06:14:54 +00:00
setup.cfg Change openstack-dev to openstack-discuss 2018-12-04 12:53:23 +00:00
setup.py Updated from global requirements 2018-01-27 18:52:29 +00:00
test-requirements.txt Updated from global requirements 2018-03-15 09:41:27 +00:00
tox.ini switch documentation job to new PTI 2018-08-23 06:13:02 +00:00

Team and repository tags

image

Tempest Integration of Zun

This directory contains Tempest tests to cover the Zun 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/#using-plugins

Running the tests

To run all tests from this plugin, install Zun into your environment and navigate to tempest directory:

$ cd /opt/stack/tempest

Run this command:

$ tox -e all-plugin -- zun_tempest_plugin.tests.tempest.api

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

$ tox -e all-plugin -- zun_tempest_plugin.tests.tempest.api.test_containers.TestContainer.test_list_containers