Move initial story test to use tox and pytest

This commit is contained in:
Jonathan Harker 2024-09-20 17:04:05 +12:00
parent 32e381e262
commit 1d8ec111ff
5 changed files with 256 additions and 70 deletions

View file

@ -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