view pytest.ini @ 6147:ca9c7cddb2bf

tests: bump pytest version requirement to allow 3.x pytest is an active project, since our previous requirement setting there have been many releases, with new features and bug fixes. One of the improvements in pytest-3.0 is that 'yield_fixture' (a fixture that can embed cleanup code after a yield) is no longer different than 'fixture', i.e. a standard fixture supports the yield cleanup mechanism. We will switch to use that when we make 3.0 mandatory.
author Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
date Thu, 25 Aug 2016 21:19:26 +0200
parents d88077fae3d6
children afa5e0bdb76f
line wrap: on
line source

[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