diff --git a/.gitignore b/.gitignore index de8bdcac..87431d68 100644 --- a/.gitignore +++ b/.gitignore @@ -24,3 +24,4 @@ requirements.txt.orig mbstest.db htmlcov/ test.env.yaml +report.html diff --git a/tox.ini b/tox.ini index deab2549..f36548e5 100644 --- a/tox.ini +++ b/tox.ini @@ -73,6 +73,7 @@ deps = kobo koji pytest + pytest-html pytest-xdist PyYAML requests @@ -81,4 +82,9 @@ deps = # if the instance tested has a self-signed certificate. passenv = REQUESTS_CA_BUNDLE MBS_TEST_CONFIG MBS_TEST_WORKERS HOME commands = - pytest -vv --confcutdir=tests/integration -n {env:MBS_TEST_WORKERS:0} {posargs:tests/integration} + pytest -rA -vv \ + --confcutdir=tests/integration \ + -n {env:MBS_TEST_WORKERS:0} \ + --html=report.html \ + --self-contained-html \ + {posargs:tests/integration}