Change all pytest report options to the more concise '-ra' in tox.ini

This commit is contained in:
Bruno Oliveira 2017-09-01 18:55:21 -03:00
parent 3dc0da9339
commit c42d966a40
1 changed files with 13 additions and 13 deletions

26
tox.ini
View File

@ -19,7 +19,7 @@ envlist =
docs docs
[testenv] [testenv]
commands = pytest --lsof -rfsxX {posargs:testing} commands = pytest --lsof -ra {posargs:testing}
passenv = USER USERNAME passenv = USER USERNAME
setenv= setenv=
pluggymaster: _PYTEST_SETUP_SKIP_PLUGGY_DEP=1 pluggymaster: _PYTEST_SETUP_SKIP_PLUGGY_DEP=1
@ -31,7 +31,7 @@ deps =
pluggymaster: git+https://github.com/pytest-dev/pluggy.git@master pluggymaster: git+https://github.com/pytest-dev/pluggy.git@master
[testenv:py26] [testenv:py26]
commands = pytest --lsof -rfsxX {posargs:testing} commands = pytest --lsof -ra {posargs:testing}
# pinning mock to last supported version for python 2.6 # pinning mock to last supported version for python 2.6
deps = deps =
hypothesis<3.0 hypothesis<3.0
@ -46,7 +46,7 @@ deps =
mock mock
nose nose
commands = commands =
pytest -n3 -rfsxX --runpytest=subprocess {posargs:testing} pytest -n3 -ra --runpytest=subprocess {posargs:testing}
[testenv:linting] [testenv:linting]
@ -69,26 +69,26 @@ deps =
nose nose
hypothesis>=3.5.2 hypothesis>=3.5.2
commands = commands =
pytest -n1 -rfsxX {posargs:testing} pytest -n1 -ra {posargs:testing}
[testenv:py35-xdist] [testenv:py35-xdist]
deps = {[testenv:py27-xdist]deps} deps = {[testenv:py27-xdist]deps}
commands = commands =
pytest -n3 -rfsxX {posargs:testing} pytest -n3 -ra {posargs:testing}
[testenv:py27-pexpect] [testenv:py27-pexpect]
changedir = testing changedir = testing
platform = linux|darwin platform = linux|darwin
deps = pexpect deps = pexpect
commands = commands =
pytest -rfsxX test_pdb.py test_terminal.py test_unittest.py pytest -ra test_pdb.py test_terminal.py test_unittest.py
[testenv:py35-pexpect] [testenv:py35-pexpect]
changedir = testing changedir = testing
platform = linux|darwin platform = linux|darwin
deps = {[testenv:py27-pexpect]deps} deps = {[testenv:py27-pexpect]deps}
commands = commands =
pytest -rfsxX test_pdb.py test_terminal.py test_unittest.py pytest -ra test_pdb.py test_terminal.py test_unittest.py
[testenv:py27-nobyte] [testenv:py27-nobyte]
deps = deps =
@ -98,7 +98,7 @@ distribute = true
setenv = setenv =
PYTHONDONTWRITEBYTECODE=1 PYTHONDONTWRITEBYTECODE=1
commands = commands =
pytest -n3 -rfsxX {posargs:testing} pytest -n3 -ra {posargs:testing}
[testenv:py27-trial] [testenv:py27-trial]
deps = twisted deps = twisted
@ -113,12 +113,12 @@ commands =
[testenv:py27-numpy] [testenv:py27-numpy]
deps=numpy deps=numpy
commands= commands=
pytest -rfsxX {posargs:testing/python/approx.py} pytest -ra {posargs:testing/python/approx.py}
[testenv:py35-numpy] [testenv:py35-numpy]
deps=numpy deps=numpy
commands= commands=
pytest -rfsxX {posargs:testing/python/approx.py} pytest -ra {posargs:testing/python/approx.py}
[testenv:docs] [testenv:docs]
skipsdist = True skipsdist = True
@ -141,7 +141,7 @@ changedir = doc/
deps = deps =
PyYAML PyYAML
commands = commands =
pytest -rfsxX en pytest -ra en
pytest --doctest-modules --pyargs _pytest pytest --doctest-modules --pyargs _pytest
[testenv:regen] [testenv:regen]
@ -170,7 +170,7 @@ commands =
[testenv:jython] [testenv:jython]
changedir = testing changedir = testing
commands = commands =
{envpython} {envbindir}/py.test-jython -rfsxX {posargs} {envpython} {envbindir}/py.test-jython -ra {posargs}
[testenv:freeze] [testenv:freeze]
changedir = testing/freeze changedir = testing/freeze
@ -197,7 +197,7 @@ commands =
minversion = 2.0 minversion = 2.0
plugins = pytester plugins = pytester
#--pyargs --doctest-modules --ignore=.tox #--pyargs --doctest-modules --ignore=.tox
addopts = -rxsX -p pytester --ignore=testing/cx_freeze addopts = -ra -p pytester --ignore=testing/cx_freeze
rsyncdirs = tox.ini pytest.py _pytest testing rsyncdirs = tox.ini pytest.py _pytest testing
python_files = test_*.py *_test.py testing/*/*.py python_files = test_*.py *_test.py testing/*/*.py
python_classes = Test Acceptance python_classes = Test Acceptance