Add a new scenario tox env
The scenario environment forces serial execution, and it selects all scenario tests, including those tagged as slow. Change-Id: I3ad362da88f770cd03f32534683888ea59cfe5c6
This commit is contained in:
parent
5e1543f753
commit
b838af91f7
10
tox.ini
10
tox.ini
|
@ -97,6 +97,16 @@ commands =
|
|||
find . -type f -name "*.pyc" -delete
|
||||
tempest run --serial --regex '(?!.*\[.*\bslow\b.*\])(^tempest\.(api|scenario))' {posargs}
|
||||
|
||||
[testenv:scenario]
|
||||
envdir = .tox/tempest
|
||||
sitepackages = {[tempestenv]sitepackages}
|
||||
setenv = {[tempestenv]setenv}
|
||||
deps = {[tempestenv]deps}
|
||||
# The regex below is used to select all scenario tests
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
tempest run --serial --regex '(^tempest\.scenario)' {posargs}
|
||||
|
||||
[testenv:smoke]
|
||||
envdir = .tox/tempest
|
||||
sitepackages = {[tempestenv]sitepackages}
|
||||
|
|
Loading…
Reference in New Issue