pytest-bdd/tox.ini

35 lines
872 B
INI
Raw Normal View History

[tox]
distshare={homedir}/.tox/distshare
2013-12-11 07:16:57 +08:00
envlist=py26,py27,py27-xdist,py27-pytest-latest,py33
indexserver=
pypi = https://pypi.python.org/simple
[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}
2014-01-29 19:33:42 +08:00
hg+https://bitbucket.org/hpk42/py#egg=py
2014-01-29 19:28:30 +08:00
hg+https://bitbucket.org/hpk42/pytest#egg=pytest
2013-12-11 07:16:57 +08:00
[testenv:py27-pytest-2.4.2]
basepython=python2.7
deps =
{[testenv]deps}
pytest==2.4.2
[pytest]
pep8maxlinelength=120