django-testing

Last Updated :
Discuss
Comments

When using a dedicated tests/ directory inside a Django app, how can a developer run a specific test method from command line?

python manage.py test app.tests

python manage.py test

python manage.py test app.tests.MyTestCase.test_method

python manage.py test app.tests.MyTestCase

Tags:
Share your thoughts in the comments