Django Test Data

Design faster, clearer Django test data and test structure with factories, setUpTestData, SimpleTestCase/TestCase choices, fixture-file cleanup, query optimization, and unit-vs-integration boundaries. Use when Django tests create too much data, rely on slow fixtures, overuse TransactionTestCase, duplicate setup, or need refactoring for speed without losing coverage.

thedixitjain 799946d 2 files · 6.3 KB Updated 2 repo stars

File contents

thedixitjain/the-mega-skill-library/tree/main/library/testing-and-qa/django-test-data commit 799946d7ab

Frequently asked questions

npx skillmds add thedixitjain/django-test-data