0:32:01
Easy, Breezy, Beautiful... Django Unit Tests
DjangoCon US 2025 · November 6, 2025
Unit tests check small, isolated pieces of code and give fast, repeatable feedback; behavior-focused tests verify inputs and outputs, while implementation-focused tests can catch issues such as N+1 database queries. Colleen Dunlap explains how mocks isolate dependencies and control test scenarios, and how Factory Boy,…