State of Android Testing in 2022
summary
Overview of concrete takeaways and tools: a tiny demo app stonks exercises unit, integration, snapshot and end-to-end tests; prefer fakes over Mockito-style mocks; use SQLDelight JDBC for local DB unit tests; use Turbine for coroutine/Flow tests and Molecule to turn composables into flows; create Paparazzi snapshots locally no device and get visual diffs; run Espresso end‑to‑end tests on real devices via Firebase Test Lab with Flank/Fladle, capture screenshots and videos; Cash App runs thousands of unit tests and treats flaky E2E tests as worse than none.
AI-written summary · about
chapters (4)
related talks
43mAndroid Apps Testing in 2019
56mTesting for Success in the Real World
46mEfficient Android UI Testing
35mModern Testing on Android
44mWhat makes good unit tests for Android apps
39mIndustrialize your Android Tests: a Tools and Methods Cookbook
33mEffective Testing Strategy in Android
44mEfficient testing UI Android apps by example
