pytest-bdd/tox.ini

28 lines
750 B
INI
Raw Normal View History

[tox]
distshare={homedir}/.tox/distshare
2014-06-11 03:57:07 +08:00
envlist=py26,py27,py27-xdist,py27-pytest-latest,py33,py34
[testenv]
commands= py.test pytest_bdd tests --pep8 --junitxml={envlogdir}/junit-{envname}.xml
deps = -r{toxinidir}/requirements-testing.txt
[testenv:py27-coverage]
commands= py.test pytest_bdd tests --cov=pytest_bdd --pep8 --junitxml={envlogdir}/junit-{envname}.xml
[testenv:py27-xdist]
basepython=python2.7
commands=
py.test pytest_bdd tests -n3 --pep8 -rfsxX \
--junitxml={envlogdir}/junit-{envname}.xml
2013-12-11 07:16:57 +08:00
[testenv:py27-pytest-latest]
basepython=python2.7
deps =
{[testenv]deps}
2015-03-01 04:52:22 +08:00
hg+https://bitbucket.org/pytest-dev/py#egg=py
hg+https://bitbucket.org/pytest-dev/pytest#egg=pytest
2013-12-11 07:16:57 +08:00
[pytest]
pep8maxlinelength=120
2014-07-25 01:24:51 +08:00
addopts=-vvl