0:39:11
factory_boy: testing like a pro
DjangoCon US 2022 · November 23, 2022
Also given at DjangoCon Europe 2022
Camila Maia explains how to use Factory Boy effectively when Django applications have complex models and relationships. She argues that poorly designed factories spread implicit assumptions through test suites, causing duplication, fragile tests, and difficult refactors, and presents seven practices to keep factories aligned with…