diff options
author | Andrea Frittoli <andrea.frittoli@hp.com> | 2013-12-06 07:08:07 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2014-01-12 09:27:48 +0000 |
commit | f5da28bdf53959b5fe507e0b1ddc4c22fb580fb7 (patch) | |
tree | 7ee707e4e157ac6f8ba20f82656e7f739b3421ec /requirements.txt | |
parent | 651a30dba7d856d766690de6704c2b13df7cc9b1 (diff) | |
download | tempest-f5da28bdf53959b5fe507e0b1ddc4c22fb580fb7.tar.gz |
Input scenario capability for tempest
Adding the ability to generate multiple tests from
a template one based on input scenarios.
The implementation is based on testscenarios (added
to requirements.txt), and the correct behaviour
could be verified using unittest or testr + subunit,
both serial and parallel runs.
The generation of the array / matrix of tests relies
on the load_test protocol. nosetests does not implement
the protocol by default.
Static scenarios can be added to any tests with very
little effort. This commit introduces a couple of
dynamic scenarios:
- all flavours matching a configurable regex
- all images matching a configurable regex
Dynamic scenarios are coded in test_utils, and provided
by InputScenarioUtils. The class includes in the doc
an example on how to use input scenarios.
Additional scenarios could be AZs, or credentials.
This commit adapts existing test_server_basic_ops
to use input scenarios, and include server
ssh verification.
This change implements blueprint input-scenarios-for-scenario.
Implements: blueprint input-scenarios-for-scenario
Change-Id: Ia86f48772ac02d67faa1c7d764cb9dc0938f6452
Diffstat (limited to 'requirements.txt')
-rw-r--r-- | requirements.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/requirements.txt b/requirements.txt index 0c4a65990..3b3e1fa78 100644 --- a/requirements.txt +++ b/requirements.txt @@ -22,3 +22,4 @@ oslo.config>=1.2.0 six>=1.4.1 iso8601>=0.1.8 fixtures>=0.3.14 +testscenarios>=0.4 |