# 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 = py27 [testenv] # `{posargs}` allows passing extra options to nose, # i.e. you can issue `$ tox -- --pdb` during debug sessions. commands = coverage erase --rcfile={toxinidir}/.coveragerc coverage run --rcfile={toxinidir}/.coveragerc -p {envbindir}/nosetests --verbosity=2 --with-xunit {posargs} coverage combine --rcfile={toxinidir}/.coveragerc coverage xml --rcfile={toxinidir}/.coveragerc coverage report -m deps = -rrequirements.txt coverage==3.6 mock==2.0.0 nose==1.3.7