New integration tests - base functional
Features: * create node group templates * create cluster templates * create clusters * check cluster status * default templates for hdp and vanilla plugins Command for run tests: $ tox -e scenario <path_to_yaml> partially implements bp: scenario-integration-tests Change-Id: Ief6aafff713520c972846aa45f0aaefd34ea1bd7
This commit is contained in:
parent
d3c77a917a
commit
f618895d1c
|
@ -4,6 +4,7 @@
|
||||||
|
|
||||||
hacking>=0.10.0,<0.11
|
hacking>=0.10.0,<0.11
|
||||||
|
|
||||||
|
Mako>=0.4.0
|
||||||
MySQL-python
|
MySQL-python
|
||||||
bashate>=0.2 # Apache-2.0
|
bashate>=0.2 # Apache-2.0
|
||||||
coverage>=3.6
|
coverage>=3.6
|
||||||
|
|
4
tox.ini
4
tox.ini
|
@ -21,6 +21,10 @@ setenv =
|
||||||
DISCOVER_DIRECTORY=sahara/tests/integration
|
DISCOVER_DIRECTORY=sahara/tests/integration
|
||||||
commands = bash tools/pretty_tox.sh '{posargs}'
|
commands = bash tools/pretty_tox.sh '{posargs}'
|
||||||
|
|
||||||
|
[testenv:scenario]
|
||||||
|
setenv = VIRTUALENV={envdir}
|
||||||
|
commands = python {toxinidir}/sahara/tests/scenario/runner.py "{posargs}"
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
commands = python setup.py testr --coverage --testr-args='{posargs}'
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue