Files
jedi/tox.ini
Danilo Bargen 81e066097d Added pytest-cache to tox.ini
This allows you to only run the last failed tests using `py.test --lf`
or `tox -- --lf`.
2014-07-26 17:48:46 +02:00

28 lines
583 B
INI

[tox]
envlist = py26, py27, py32, py33, py34
[testenv]
deps =
pytest>=2.3.5
pytest-cache
# docopt for sith doctests
docopt
# coloroma for colored debug output
colorama
commands =
py.test []
[testenv:py26]
deps =
unittest2
{[testenv]deps}
[testenv:cov]
deps =
coverage
{[testenv]deps}
commands =
coverage run --source jedi -m py.test
coverage report
[testenv:sith]
commands =
{envpython} -c "import os; a='{envtmpdir}'; os.path.exists(a) or os.makedirs(a)"
{envpython} sith.py --record {envtmpdir}/record.json random {posargs:jedi}