Boost test speed by pytest-xdist
This commit is contained in:
committed by
Jeong YunWon
parent
72254a7af9
commit
a8827a5d95
3
tox.ini
3
tox.ini
@@ -12,12 +12,13 @@ deps =
|
||||
pytest-cov
|
||||
pytest-sanic
|
||||
pytest-sugar
|
||||
pytest-xdist
|
||||
aiohttp==1.3.5
|
||||
chardet<=2.3.0
|
||||
beautifulsoup4
|
||||
gunicorn
|
||||
commands =
|
||||
pytest tests --cov sanic --cov-report= {posargs}
|
||||
pytest tests -n 4 --cov sanic --cov-report= {posargs}
|
||||
- coverage combine --append
|
||||
coverage report -m
|
||||
|
||||
|
||||
Reference in New Issue
Block a user