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