Architecting for Testability - Emily Bache

Agile on the Beach · 51 min · published 22 Sept 2022 · watched 11 Apr 2025

Emily Bache addresses getting legacy code under test and argues that testability should be treated as an architectural concern. She criticizes mock-heavy unit tests and slow end-to-end tests and advocates approval testing in the middle of the test pyramid, demonstrating the Approvals library and TextTest on a small booking microservice. Architectural changes such as controlling the database on startup, adding an endpoint to inspect internal state and running instances in parallel make this possible.

I picked this talk; AI wrote the summary.

Watch on YouTube ↗ ← All talks