diff options
author | Filippo Valsorda <[email protected]> | 2013-10-12 13:17:11 -0400 |
---|---|---|
committer | Filippo Valsorda <[email protected]> | 2013-10-12 13:17:11 -0400 |
commit | d3f46b9aa5727323182dd845030c9d781e1824fd (patch) | |
tree | de3beb03adfc988d562d6558e298874a526659d0 /tox.ini | |
parent | f5e54a1fda6fcc4ef279e54ff6cf63f6eae71bb0 (diff) | |
download | youtube-dl-d3f46b9aa5727323182dd845030c9d781e1824fd.tar.gz youtube-dl-d3f46b9aa5727323182dd845030c9d781e1824fd.zip |
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)
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -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 |