[TIP] How do you run a specific Django unittest with Tox?

Chris Spencer chrisspen at gmail.com
Sat Dec 26 11:12:31 PST 2015

I'm trying to wrap Tox around some Django unittests, and I can run all
unittests with Tox by calling:

    django-admin.py test --settings=myapp.tests.settings myapp.tests.Tests

However, I'd like to run a specific test at
myapp.tests.Tests.test_somespecificthing, but I can't figure out how pass
in a custom command-line option and use that to change the command Tox runs.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.idyll.org/pipermail/testing-in-python/attachments/20151226/b8575bda/attachment.htm>

More information about the testing-in-python mailing list