1
0
mirror of https://github.com/kevin1024/vcrpy.git synced 2025-12-09 01:03:24 +00:00
Files
vcrpy/tox.ini
Marc Abramowitz c44fee1f16 tox.ini: Add {posargs} for passing args to py.test
This allows you to do stuff like:

   tox -e py26requests,py27requests,pypyrequests -- tests/integration/test_requests.py
2014-02-04 00:25:13 -08:00

64 lines
1.0 KiB
INI

# Tox (http://tox.testrun.org/) is a tool for running tests
# in multiple virtualenvs. This configuration file will run the
# test suite on all supported python versions. To use it, "pip install tox"
# and then run "tox" from this directory.
[tox]
envlist = py26, py27, pypy, py26requests, py27requests, pypyrequests, py26oldrequests, py27oldrequests, pypyoldrequests
[testenv]
commands =
py.test {posargs}
deps =
mock
pytest
PyYAML
[testenv:py26oldrequests]
basepython = python2.6
deps =
mock
pytest
PyYAML
requests==1.2.3
[testenv:py27oldrequests]
basepython = python2.7
deps =
mock
pytest
PyYAML
requests==1.2.3
[testenv:pypyoldrequests]
basepython = pypy
deps =
mock
pytest
PyYAML
requests==1.2.3
[testenv:py26requests]
basepython = python2.6
deps =
mock
pytest
PyYAML
requests
[testenv:py27requests]
basepython = python2.7
deps =
mock
pytest
PyYAML
requests
[testenv:pypyrequests]
basepython = pypy
deps =
mock
pytest
PyYAML
requests