Tempest plugin for the Zun project.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Hongbin Lu 6d2529583b Temporarily disable capsule tests 3 months ago
doc Add doc/requirements 11 months ago
releasenotes Switch to newer openstackdocstheme and reno versions 2 years ago
zun_tempest_plugin Temporarily disable capsule tests 3 months ago
.coveragerc Apply cookiecutter to newly split project 4 years ago
.gitignore Migrate from testr to stestr 5 months ago
.gitreview OpenDev Migration Patch 3 years ago
.mailmap Apply cookiecutter to newly split project 4 years ago
.stestr.conf Migrate from testr to stestr 5 months ago
.zuul.yaml [goal] Migrate zun-tempest-plugin jobs to focal 1 year ago
CONTRIBUTING.rst Apply cookiecutter to newly split project 4 years ago
HACKING.rst Replace git.openstack.org URLs with opendev.org URLs 3 years ago
LICENSE Apply cookiecutter to newly split project 4 years ago
README.rst Replace git.openstack.org URLs with opendev.org URLs 3 years ago
babel.cfg Apply cookiecutter to newly split project 4 years ago
requirements.txt Remove six 2 years ago
setup.cfg setup.cfg: Replace dashes with underscores 7 months ago
setup.py Updated from global requirements 4 years ago
test-requirements.txt Migrate from testr to stestr 5 months ago
tox.ini Migrate from testr to stestr 5 months ago

README.rst

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