blazar/contrib/tempest
ghanshyam e087575a8b Shrink Tempest scenario manager copy
scenario manager in tempest plugin was copied from
Tempest to avoid any plugin break.

This copied version of scenario manager is using lot of
Tempest interfaces. Many of them are not stable and might
change which can break plugin.

For example - https://review.openstack.org/#/c/503875/3

This commit shrinks the scenario manager copy to keep
only required methods.

Change-Id: I1a3b654afed303bdea77177d18aa294fd6d00d7d
2017-09-23 18:29:08 +00:00
..
tempest Shrink Tempest scenario manager copy 2017-09-23 18:29:08 +00:00
README.rst Follow latest Tempest framework 2017-02-09 17:40:40 +09:00

README.rst

This directory contains the files necessary for tempest to cover Blazar project.

To install:

$ TEMPEST_DIR=/path/to/tempest $ BLAZAR_DIR=/path/to/blazar $ cp -R ${BLAZAR_DIR}/contrib/tempest/tempest/* ${TEMPEST_DIR}/tempest/

For example: $ cp -R /opt/stack/blazar/contrib/tempest/tempest/* /opt/stack/tempest/tempest/

To run all the blazar tests, add the following to the tox.ini file located at TEMPEST_DIR:

[testenv:blazar] sitepackages = True commands = bash tools/pretty_tox.sh '(^tempest.(apithirdparty|cli).test.*reservation) {posargs}'

Then, inside the TEMPEST_DIR, run: $ tox -eblazar

To debug tests with pdb or ipdb debuggers, run the following: $ python -m testtools.run tempest."modules_to_your_test_file"."test_file_name"."your_test_suite_name"