mistral/mistral_tempest_tests
Kaustuv Royburman 9f8719024b Decoupling of Mistral tempest test from Mistral code base
The Mistral Tempest tests have a hard-coded dependency on Mistral being present
when Tempest tests are executed.
When trying to sparse-checkout the mistral_tempest_tests folder to run
the Mistral tests as a Tempest plugin; it fails due to Mistral not
being installed as some utilities and resources which are written in
the Mistral Tempest tests are being hard referenced from Mistral
being installed in the same environment.

This patch decouples the Mistral Tempest Tests so that they can be executed in
a stand-alone mode along with the necessary resources that are required to
execute the Tempest tests.

Change-Id: Ifd6a3a65a14c4ad4736dccc3e72cd564b6f53a0a
Closes-Bug: #1714732
2017-10-09 23:20:06 -05:00
..
services Decoupling of Mistral tempest test from Mistral code base 2017-10-09 23:20:06 -05:00
tests Decoupling of Mistral tempest test from Mistral code base 2017-10-09 23:20:06 -05:00
__init__.py Initial layout for mistral tempest plugin. 2015-12-24 06:11:06 +00:00
config.py Stop adding ServiceAvailable group option 2016-10-01 13:50:30 +05:30
plugin.py Stop adding ServiceAvailable group option 2016-10-01 13:50:30 +05:30
README.rst Added README.rst file for tempest plugin. 2015-12-24 06:14:12 +00:00

Tempest Integration of Mistral

This directory contains Tempest tests to cover the mistral project.

To list all Mistral tempest cases, go to tempest directory, then run:

$ testr list-tests mistral

To run only these tests in tempest, go to tempest directory, then run:

$ ./run_tempest.sh -N -- mistral

To run a single test case, go to tempest directory, then run with test case name, e.g.:

$ ./run_tempest.sh -N -- mistral_tempest_tests.tests.api.v2.test_mistral_basic_v2.WorkbookTestsV2.test_get_workbook

Alternatively, to run mistral tempest plugin tests using tox, go to tempest directory, then run:

$ tox -eall-plugin mistral

And, to run a specific test:

$ tox -eall-plugin mistral_tempest_tests.tests.api.v2.test_mistral_basic_v2.WorkbookTestsV2.test_get_workbook