launch tests in parallel
Change-Id: Ia1a228672e33c997baf3c234c1bc3c1f9a336d31
This commit is contained in:
parent
1bdf4314ca
commit
c385fe2544
@ -6,6 +6,7 @@ hacking>=0.9.2,<0.10 # Apache Software License
|
||||
pytest>=2.7,<=2.9.2 # MIT
|
||||
pytest-cov>=2.2.1,<=2.3.0 # MIT
|
||||
pytest-html # Mozilla Public License 2.0 (MPL 2.0)
|
||||
pytest-xdist # MIT
|
||||
|
||||
coverage>=3.6 # Apache License, Version 2.0
|
||||
ddt>=1.0.1
|
||||
|
4
tox.ini
4
tox.ini
@ -18,7 +18,7 @@ install_command = pip install -U {opts} {packages}
|
||||
usedevelop = True
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
py.test --html=pytest_results.html --durations=10 "tests/unit" {posargs}
|
||||
py.test --html=pytest_results.html --durations=10 -n auto "tests/unit" {posargs}
|
||||
distribute = false
|
||||
basepython = python2.7
|
||||
passenv = http_proxy HTTP_PROXY https_proxy HTTPS_PROXY no_proxy NO_PROXY
|
||||
@ -46,7 +46,7 @@ commands = oslo_debug_helper -t tests {posargs}
|
||||
sitepackages = True
|
||||
commands =
|
||||
find . -type f -name "*.pyc" -delete
|
||||
py.test --html=pytest_results.html --durations=10 "tests/functional" {posargs}
|
||||
py.test --html=pytest_results.html --durations=10 -n auto "tests/functional" {posargs}
|
||||
|
||||
|
||||
[testenv:cover]
|
||||
|
Loading…
Reference in New Issue
Block a user