Architecting for Testability - Emily Bache
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.