- 00. Kick-Off
- 01. Domain Modeling
- 02. Repository Pattern
- 03. Coupling and Abstractions
- 04. Flask API and Service Layer
- 05. TDD in High and Low Gears
- 06. Unit of Work Pattern
- Introduction
- The Unit of Work Collaborates with the Repository
- Test-Driving a UoW with Integration Tests
- Unit of Work and Its Context Manager
- Using the UoW in the Service Layer
- Explicit Tests for Commit/Rollback Behavior
- Explicit Versus Implicit Commits
- Examples: Using UoW to Group Multiple Operations into an Atomic Unit
- Tidying Up the Integration Tests
- Wrap-Up