UI testing is so easy - said no developer ever
summary
Slack builds a power pack pattern to make Espresso UI tests hermetic and targeted, replacing repetitive Mockito setup and Dagger wiring with pack classes that add users, channels and messages. The suite reaches 555 functional UI tests and uses Espresso + Mockito + Dagger + AutoValue; packs centralize test doubles so API changes update one place. Developer satisfaction and ease-of-testing rise from a 2.5/4 baseline, migration is underway, and a JSON-record/replay idea promises automatic pack generation.
AI-written summary · about
chapters (7)
- 0:00Introduction and survey results
- 4:12UI testing in 2011
- 8:43Espresso framework introduction
- 14:22UI testing at Slack
- 23:25Power pack pattern explained
- 39:57Future of UI testing at Slack
- 43:18Q&A
related talks
42mRock-Solid UI and Instrumentation Testing
46mEfficient Android UI Testing
44mEfficient testing UI Android apps by example
38mThe Testing Pyramid – What does it mean for Android?
53mSolving Espresso Android Autotest Issues in the Real World
23mManaging your UI tests simply and effectively
44mDrink Espresso during Android Testing
44mTaking care of your UI tests
