AssertTrue (isDecoupled(“my tests”))
summary
Argues that loose coupling cuts test maintenance: a quiz app change repeatedly breaks hundreds of UI-driven Selenium tests, tests sit skipped for months, and full suite runs take 30–40 minutes. Fix is layered testing: page objects and a DSL layer to shield UI churn, shift business checks to a service layer with adapters so external services become swappable, use email gateway spy storing messages and other test doubles to assert behavior, and create fixtures via object mother/test builders and in-memory repositories — this reduces failures and cuts runtime to seconds.
AI-written summary · about
chapters (8)
- 0:00Start
- 9:25Test Parent
- 14:30Coupling Our Tests to the User Interface
- 19:03Domain-Specific Language Layer
- 28:56Testing Is Full of Compromises
- 35:43Is the Effort Required To Automate these Tests
- 37:20What Would Happen if We Replaced Our Entire Website with an Application with an App
- 1:02:03How Are You Using the Same Data across Tests








