Testing via fake injection in Django
summary
Presentation explains how Samolyot builds a layered architecture in a Django application by separating a business-logic layer and applying dependency injection widely. It covers testing strategies for that combination, describing approaches to fake injection and discussing the benefits and drawbacks of these testing methods.
AI-written summary · about
chapters (11)
- 0:00Introduction
- 3:12Talk overview
- 5:45Django app common problems
- 11:33Django testing issues
- 15:07New approach: layer separation
- 17:14CQRS and Clean Architecture patterns
- 21:07Service class structure
- 25:19Test refactoring
- 28:35Implementation results
- 32:55Approach drawbacks
- 35:24Q&A
related talks
24mPractical Unit Testing in Django
46mDependency injection is your friend
32mEasy, Breezy, Beautiful... Django Unit Tests with Colleen Dunlap
49mKeynote - Testing in Django
53mDjango productivity tips and tricks
29mSecrets of the testing masters
01h 06mEffective Django
48mTesting the Database Layer: typical problems & best practices
