2013-08-17 23:57:33 +08:00
|
|
|
[tox]
|
|
|
|
distshare={homedir}/.tox/distshare
|
2013-12-11 07:16:57 +08:00
|
|
|
envlist=py26,py27,py27-xdist,py27-pytest-latest,py33
|
2013-08-17 23:57:33 +08:00
|
|
|
indexserver=
|
|
|
|
pypi = https://pypi.python.org/simple
|
|
|
|
|
|
|
|
[testenv]
|
2013-12-11 10:43:58 +08:00
|
|
|
commands= py.test pytest_bdd tests --pep8 --junitxml={envlogdir}/junit-{envname}.xml
|
2013-08-17 23:57:33 +08:00
|
|
|
deps = -r{toxinidir}/requirements-testing.txt
|
|
|
|
|
|
|
|
[testenv:py27-coverage]
|
2013-12-11 10:43:58 +08:00
|
|
|
commands= py.test pytest_bdd tests --cov=pytest_bdd --pep8 --junitxml={envlogdir}/junit-{envname}.xml
|
2013-08-17 23:57:33 +08:00
|
|
|
|
|
|
|
[testenv:py27-xdist]
|
|
|
|
basepython=python2.7
|
|
|
|
commands=
|
2013-12-11 10:43:58 +08:00
|
|
|
py.test pytest_bdd tests -n3 --pep8 -rfsxX \
|
2013-08-17 23:57:33 +08:00
|
|
|
--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
|
|
|
|
2013-08-17 23:57:33 +08:00
|
|
|
[pytest]
|
|
|
|
pep8maxlinelength=120
|