1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
[testenv:coverage-clean]
skip_install = True
commands = {envpython} -m coverage erase
[testenv:coverage-stats]
skip_install = True
commands =
{envpython} -m coverage combine
{envpython} -m coverage report
{envpython} -m coverage html
[testenv]
passenv =
REPROTEST_TEST_*
VIRTUALENV_DOWNLOAD
*_proxy
TERM
# usedevelop = True
deps =
coverage
# coverage_pth
diffoscope
# pytest-cov
pytest
# commands = pytest --cov-report html --cov=reprotest tests/tests.py
commands = {envpython} -m coverage run --omit .tox/* --parallel -m pytest {posargs} tests/
# commands = pytest {posargs} tests/tests.py
|