Skip to content

Commit 35a7805

Browse files
committed
Make it easier to run one test
1 parent e7ff9c1 commit 35a7805

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

tox.ini

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
11
# tox configuration for django_coverage_plugin.
2+
#
3+
# To run all the tests:
4+
#
5+
# $ tox
6+
#
7+
# To run one test:
8+
#
9+
# $ tox -- tests.test_extends.SsiTest.test_ssi_parsed
10+
#
211

312
[tox]
413
envlist = py{27,34}-django{14,15,16,17,18},check
@@ -17,7 +26,7 @@ deps =
1726

1827
commands =
1928
{envpython} -c "import tests.banner"
20-
{envpython} -m unittest discover -b
29+
{envpython} -m unittest {posargs:discover -b}
2130

2231
usedevelop = True
2332

0 commit comments

Comments
 (0)