About Tagging Tests
You can tag a test and execute only tagged tests using the following:
Test case:
from django.test import TestCase, tag
class LoginTestCase(TestCase):
@tag("frontend", "authentication")
def test_login(self):
# …
Bash command:
(env)$ python manage.py test --tag=frontend
Tips and Tricks Programming Testing Django 4.2 Django 3.2 Django 2.2
Also by me
Django Paddle Subscriptions app
For Django-based SaaS projects.
Django App for You
Django GDPR Cookie Consent app
For Django websites that use cookies.
Django App for You