about summary refs log tree commit diff
path: root/tox.ini
diff options
context:
space:
mode:
authorFilippo Valsorda <filippo.valsorda@gmail.com>2013-10-12 13:17:11 -0400
committerFilippo Valsorda <filippo.valsorda@gmail.com>2013-10-12 13:17:11 -0400
commitd3f46b9aa5727323182dd845030c9d781e1824fd (patch)
treede3beb03adfc988d562d6558e298874a526659d0 /tox.ini
parentf5e54a1fda6fcc4ef279e54ff6cf63f6eae71bb0 (diff)
downloadyoutube-dl-d3f46b9aa5727323182dd845030c9d781e1824fd.tar.gz
youtube-dl-d3f46b9aa5727323182dd845030c9d781e1824fd.tar.xz
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.ini7
1 files changed, 5 insertions, 2 deletions
diff --git a/tox.ini b/tox.ini
index 53b461fdb..ed01e3386 100644
--- a/tox.ini
+++ b/tox.ini
@@ -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