diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2020-04-17 18:39:31 +0200 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2020-04-17 18:39:31 +0200 |
commit | f17397ec648f48a6969268abb5486f727c7de98f (patch) | |
tree | b9be1c48519a9d93c6420b6d23363fdca105f5bd | |
parent | c5e6a5b8b58b484d6f470b895afac34e07080076 (diff) | |
download | cherrypy-git-f17397ec648f48a6969268abb5486f727c7de98f.tar.gz |
Anotate addops usage in pytest config
-rw-r--r-- | pytest.ini | 32 |
1 files changed, 31 insertions, 1 deletions
@@ -1,5 +1,35 @@ [pytest] -addopts = --durations=10 -v -rxXs -l --junitxml=.test-results/pytest/results.xml --cov=cherrypy --cov-report term-missing:skip-covered --cov-report xml --doctest-modules +addopts = + # `pytest-xdist`: + #--numprocesses=auto + + # `pytest-mon`: + # useful for live testing with `pytest-watch` during development: + #--testmon + + # show 10 slowest invocations: + --durations=10 + + # a bit of verbosity doesn't hurt: + -v + + # report all the things == -rxXs: + -ra + + # show values of the local vars in errors: + --showlocals + + # autocollect and invoke the doctests from all modules: + --doctest-modules + + # dump the test results in junit format: + --junitxml=.test-results/pytest/results.xml + + # `pytest-cov`: + --cov=cherrypy + --cov-report term-missing:skip-covered + --cov-report xml + # --cov-report xml:.test-results/pytest/cov.xml # alternatively move it here doctest_optionflags = ALLOW_UNICODE ELLIPSIS filterwarnings = error |