Move initial story test to use tox and pytest
This commit is contained in:
parent
32e381e262
commit
1d8ec111ff
5 changed files with 256 additions and 70 deletions
7
tox.ini
7
tox.ini
|
|
@ -6,13 +6,18 @@ skip_missing_interpreters = True
|
|||
[testenv]
|
||||
skip_install = True
|
||||
setenv =
|
||||
PYTHONPATH = {toxroot}
|
||||
PYTHONPATH = {toxroot}/setclass
|
||||
commands =
|
||||
pytest --cov=. --junitxml=junit.xml --cov-report xml:coverage.xml --cov-report term {posargs}
|
||||
deps =
|
||||
-r requirements-dev.txt
|
||||
|
||||
[coverage:run]
|
||||
omit =
|
||||
./**/tests/*.py
|
||||
./**/test_*.py
|
||||
./**/*_tests.py
|
||||
./**/tests.py
|
||||
|
||||
[coverage:report]
|
||||
skip_empty = True
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue