Switch from nose to pytest
Nicer output when asserts fail Also more actively maintained and more flexible (e.g.: fixtures, conftest.py)
This commit is contained in:
parent
75414651a0
commit
32c30cb800
|
@ -5,3 +5,6 @@ __pycache__
|
||||||
build/
|
build/
|
||||||
dist/
|
dist/
|
||||||
.tox/
|
.tox/
|
||||||
|
.coverage
|
||||||
|
coverage.xml
|
||||||
|
htmlcov/
|
||||||
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
[pytest]
|
||||||
|
norecursedirs = build docs/_build *.egg .tox *.venv virtualenvs
|
||||||
|
addopts =
|
||||||
|
# --verbose
|
||||||
|
--tb=short
|
||||||
|
# Turn on --capture to have brief, less noisy output
|
||||||
|
# You will only see output if the test fails
|
||||||
|
# Use --capture no if you want to see it all or have problems debugging
|
||||||
|
# --capture=fd
|
||||||
|
# --capture=no
|
||||||
|
# show extra test summary info as specified by chars (f)ailed, (E)error, (s)skipped, (x)failed, (X)passed.
|
||||||
|
-rfEsxX
|
||||||
|
# --junitxml=junit.xml
|
||||||
|
# --cov=pipdeptree --cov-report=xml --cov-report=html --cov-report=term-missing
|
Loading…
Reference in New Issue