Test-driven development stops being an abstract ideal the moment you apply it to
real Django code. This series works through it end to end — first the why and
the red-green-refactor loop, then eight worked examples across models, views, and
APIs using factory_boy and faker. Read them in order below.
Test-Driven Development in Django
A hands-on series on test-driven development in Django — from first principles to real-world model, view, and API tests.
- Stack
- Django · pytest · factory_boy