comparison setup.cfg @ 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 19267f233d39
children 0a2d85671b59
comparison
equal deleted inserted replaced
5699:6a83b399bb3c 5700:d88077fae3d6
1 [egg_info] 1 [egg_info]
2 tag_build = 2 tag_build =
3 tag_svn_revision = 0 3 tag_svn_revision = 0
4 tag_date = 0 4 tag_date = 0
5 5
6 [nosetests] 6 [aliases]
7 verbose = True 7 test = pytest
8 verbosity = 2
9 with-pylons = kallithea/tests/test.ini
10 detailed-errors = 1
11 nologcapture = 1
12
13 [pytest]
14 # only look for tests in kallithea/tests
15 python_files = kallithea/tests/**/test_*.py
16 addopts =
17 # --verbose
18 # show extra test summary info as specified by chars (f)ailed, (E)error, (s)skipped, (x)failed, (X)passed, (w)warnings.
19 -rfEsxXw
20 # Shorter scrollbacks; less stuff to scroll through
21 --tb=short
22 8
23 [compile_catalog] 9 [compile_catalog]
24 domain = kallithea 10 domain = kallithea
25 directory = kallithea/i18n 11 directory = kallithea/i18n
26 statistics = true 12 statistics = true