Add support for single-test tox runs

Use a sintax like
    tox test.test_download:TestDownload.test_NowVideo
to run the specific test on all the tox environments (Python versions)
This commit is contained in:
Filippo Valsorda 2013-10-12 13:17:11 -04:00
parent f5e54a1fda
commit d3f46b9aa5
9 changed files with 13 additions and 10 deletions

View file

@ -1,5 +1,8 @@
[tox]
envlist = py26,py27,py33
[testenv]
deps = nose
commands = nosetests --with-coverage --cover-package=youtube_dl --cover-html --verbose test
deps =
nose
coverage
commands = nosetests --verbose {posargs:test} # --with-coverage --cover-package=youtube_dl --cover-html
# test.test_download:TestDownload.test_NowVideo