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