The tox init file is changed to write a coverage data report under
/tmp/tests.xml. Report file under tmp directory is more easily accessible by
a post processing tool than report file under sdlpy.
Signed-off-by: Timo Tietavainen <timo.tietavainen@nokia.com>
Change-Id: I3b890b498ef98a470ba5e319117b692f9a0ff3f0
*.py,cover
.hypothesis/
.pytest_cache/
-xunit-results.xml
# Translations
*.mo
DBAAS_SERVICE_HOST=localhost
DBAAS_SERVICE_PORT=6379
commands =
- pytest --junitxml xunit-results.xml --cov ricsdl --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70
+ pytest --cov ricsdl --cov-report xml --cov-report term-missing --cov-report html --cov-fail-under=70 --junitxml=/tmp/tests.xml
coverage xml -i
[testenv:flake8]