|
1 month ago | |
---|---|---|
doc | 1 month ago | |
releasenotes | 9 months ago | |
zun_tempest_plugin | 2 months ago | |
.coveragerc | 3 years ago | |
.gitignore | 3 years ago | |
.gitreview | 1 year ago | |
.mailmap | 3 years ago | |
.testr.conf | 3 years ago | |
.zuul.yaml | 5 months ago | |
CONTRIBUTING.rst | 3 years ago | |
HACKING.rst | 1 year ago | |
LICENSE | 3 years ago | |
README.rst | 1 year ago | |
babel.cfg | 3 years ago | |
requirements.txt | 10 months ago | |
setup.cfg | 9 months ago | |
setup.py | 3 years ago | |
test-requirements.txt | 1 month ago | |
tox.ini | 1 month ago |
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
Edit /opt/stack/tempest/etc/tempest.conf
:
Add the
[container_service]
section, configuremin_microversion
andmax_microversion
: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