Tempest plugin for the Zun project.
Go to file
gujin 01d03bb71e Update "python setup.py build_sphinx" to build_sphinx
1. Update "python setup.py build_sphinx" to build_sphinx
2. Keeping going with docs

Change-Id: I729ae1a6c106cbc126d6d5849ed2f86673a29b4e
2020-05-21 09:28:27 +08:00
doc/source Bump the openstackdocstheme extension to 1.20 2019-08-05 09:38:38 +08:00
releasenotes Drop python 2.7 support and testing 2020-01-22 22:17:45 +00:00
zun_tempest_plugin Update hacking for Python3 2020-05-06 13:28:00 +08: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 OpenDev Migration Patch 2019-04-19 19:31:48 +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 Add stable/ussuri job on master gate 2020-05-05 18:00:42 -05: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 Replace git.openstack.org URLs with opendev.org URLs 2019-04-26 10:03:46 +08:00
LICENSE Apply cookiecutter to newly split project 2017-09-07 16:17:22 -04:00
README.rst Replace git.openstack.org URLs with opendev.org URLs 2019-04-26 10:03:46 +08:00
requirements.txt Remove six 2020-05-05 12:30:42 +08:00
setup.cfg Update docs building 2020-04-19 10:24:33 +02:00
setup.py Updated from global requirements 2018-01-27 18:52:29 +00:00
test-requirements.txt Fix hacking min version to 3.0.1 2020-05-12 21:44:27 -05:00
tox.ini Update "python setup.py build_sphinx" to build_sphinx 2020-05-21 09:28:27 +08: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

Edit /opt/stack/tempest/etc/tempest.conf:

  • Add the [container_service] section, configure min_microversion and max_microversion:

    [container_service]
    min_microversion=1.32
    max_microversion=1.32

Note

You might need to modify the min/max microversion based on your test environment.

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

$ cd /opt/stack/tempest

Run this command:

$ tempest run --regex zun_tempest_plugin.tests.tempest.api

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

$ tempest run --regex zun_tempest_plugin.tests.tempest.api.test_containers.TestContainer.test_list_containers