2012-06-05 02:05:59 +02:00
|
|
|
# Tox (http://tox.testrun.org/) is a tool for running tests
|
2014-04-24 21:36:03 +02:00
|
|
|
# in multiple virtualenvs.
|
|
|
|
# Run:
|
|
|
|
# $ pip install -r requirements-dev.txt
|
|
|
|
# $ tox
|
|
|
|
|
2012-06-05 02:05:59 +02:00
|
|
|
|
|
|
|
[tox]
|
2014-04-24 17:08:40 +02:00
|
|
|
envlist = py26, py27, py34, pypy
|
2014-04-24 21:36:03 +02:00
|
|
|
|
2012-06-05 02:05:59 +02:00
|
|
|
|
|
|
|
[testenv]
|
2014-04-26 16:50:31 +02:00
|
|
|
deps =
|
|
|
|
pytest
|
2014-06-28 16:35:57 +02:00
|
|
|
pytest-httpbin
|
2012-06-05 02:05:59 +02:00
|
|
|
|
2014-04-24 21:36:03 +02:00
|
|
|
commands =
|
2014-09-08 07:44:25 +02:00
|
|
|
py.test --verbose --doctest-modules --basetemp={envtmpdir} {posargs:./tests ./httpie}
|
2014-10-20 14:40:55 +02:00
|
|
|
|
|
|
|
[pytest]
|
|
|
|
addopts = --tb=native
|