diff --git a/README.md b/README.md index 2e2d589..c5b1c56 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,13 @@ Your project will be executed with following command: pip install -e . && python3 setup.py pytest ``` +When configuring your setup.cfg ensure that the junit `tests.xml` report generation is enabled. +These two options should be present: +```ini +addopts=--junitxml=tests.xml +junit_family=legacy +``` + Check out our [setup.py](setup.py) and [setup.cfg](setup.cfg) files. ## Automatic assessment diff --git a/setup.cfg b/setup.cfg index 1152c7d..1379952 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,9 +1,7 @@ [aliases] test=pytest -nosetests=pytest - [tool:pytest] -timeout = 30 -python_files = tests.py test_*.py *_tests.py -addopts = --junitxml=nosetests.xml -junit_family = legacy +timeout=30 +python_files=tests.py test_*.py *_tests.py +addopts=--junitxml=tests.xml +junit_family=legacy