Files
deb-python-gabbi/tox.ini
Chris Dent 485be481e3 Add a cover tox target to do coverage
Having coverage information will help improve future testing.

Also add some POST tests to enhance coverage of the the SimpleWsgi
test backend.
2015-02-02 21:36:45 +00:00

33 lines
718 B
INI

[tox]
minversion = 1.6
skipsdist = True
envlist = py27,py33,py34,pep8,limit
[testenv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
install_command = pip install -U {opts} {packages}
usedevelop = True
commands = python setup.py testr --testr-args="{posargs}"
[testenv:venv]
deps = -r{toxinidir}/requirements.txt
-r{toxinidir}/test-requirements.txt
commands = {posargs}
[testenv:pep8]
deps = flake8
commands =
flake8
[testenv:limit]
commands = {toxinidir}/test-limit.sh
[testenv:cover]
commands = python setup.py testr --coverage --testr-args="{posargs}"
[flake8]
ignore = H405,E126
exclude=.venv,.git,.tox,dist,*egg,*.egg-info,build,examples,docs
show-source = True