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.
Ghanshyam Mann 6a7c3f7c4c Add stable/zed jobs on master gate 2 months ago
doc Add doc/requirements 2 years ago
releasenotes Switch to newer openstackdocstheme and reno versions 3 years ago
zun_tempest_plugin Temporarily disable capsule tests 1 year ago
.coveragerc Apply cookiecutter to newly split project 5 years ago
.gitignore Migrate from testr to stestr 1 year ago
.gitreview OpenDev Migration Patch 4 years ago
.mailmap Apply cookiecutter to newly split project 5 years ago
.stestr.conf Migrate from testr to stestr 1 year ago
.zuul.yaml Add stable/zed jobs on master gate 2 months ago
CONTRIBUTING.rst Apply cookiecutter to newly split project 5 years ago
HACKING.rst Replace git.openstack.org URLs with opendev.org URLs 4 years ago
LICENSE Apply cookiecutter to newly split project 5 years ago
README.rst Replace git.openstack.org URLs with opendev.org URLs 4 years ago
babel.cfg Apply cookiecutter to newly split project 5 years ago
requirements.txt Remove six 3 years ago
setup.cfg setup.cfg: Replace dashes with underscores 2 years ago
setup.py Updated from global requirements 5 years ago
test-requirements.txt Migrate from testr to stestr 1 year ago
tox.ini Migrate from testr to stestr 1 year 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