mirror of https://github.com/blackjack4494/yt-dlc
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)pull/2/head
parent
f5e54a1fda
commit
d3f46b9aa5
@ -1,5 +1,8 @@
|
|||||||
[tox]
|
[tox]
|
||||||
envlist = py26,py27,py33
|
envlist = py26,py27,py33
|
||||||
[testenv]
|
[testenv]
|
||||||
deps = nose
|
deps =
|
||||||
commands = nosetests --with-coverage --cover-package=youtube_dl --cover-html --verbose test
|
nose
|
||||||
|
coverage
|
||||||
|
commands = nosetests --verbose {posargs:test} # --with-coverage --cover-package=youtube_dl --cover-html
|
||||||
|
# test.test_download:TestDownload.test_NowVideo
|
||||||
|
Loading…
Reference in New Issue