[Django]-How to run a single test or single TestCase with django-nose?

83👍

Nose supports the following syntax (note : between test script name and test class name):

./manage.py test myapp.tests.test_script:MyTestCase.test_method
👤alecxe

7👍

The correct answer is ./manage.py test myapp/tests/test_script:MyTestCase.test_method.

Using dots in the relative path did not work for me, but slashes did.

Leave a comment