Mercurial > kallithea
diff pytest.ini @ 5700:d88077fae3d6
pytest migration: switch to pytest; remove nose support
Make pytest the default test runner and remove support for nose.
Tests can be run using:
- py.test
- python setup.py test
The pytest configuration needs to move from setup.cfg to pytest.ini to support
this - see https://github.com/pytest-dev/pytest/issues/567 and
https://bitbucket.org/pytest-dev/pytest-runner/issues/7/support-all-pytest-commands .
author | Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> |
---|---|
date | Wed, 03 Feb 2016 22:32:28 +0100 |
parents | |
children | afa5e0bdb76f |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pytest.ini Wed Feb 03 22:32:28 2016 +0100 @@ -0,0 +1,9 @@ +[pytest] +# only look for tests in kallithea/tests +python_files = kallithea/tests/**/test_*.py +addopts = + # --verbose + # show extra test summary info as specified by chars (f)ailed, (E)error, (s)skipped, (x)failed, (X)passed, (w)warnings. + -rfEsxXw + # Shorter scrollbacks; less stuff to scroll through + --tb=short