Brewing Espresso with Solar Power: Practical Android Testing
summary
Claims a repeatable Android test approach that actually works: a tiny app reads roof solar wattage (about $0.40/hour in the demo and roughly $1,000 returned so far) and the UI has five explicit states. Tests combine Espresso + MockWebServer + Dagger, unit-test the activity by injecting a mocked ViewModel, run end-to-end tests with a scriptable web server, avoid Thread.sleep by using Espresso synchronization and Rx schedulers, and keep Bluetooth behind a thin mockable hardware layer.
AI-written summary · about
chapters (6)
related talks
44mDrink Espresso during Android Testing
53mSolving Espresso Android Autotest Issues in the Real World
42mRock-Solid UI and Instrumentation Testing
46mEfficient Android UI Testing
01h 29mHello Espresso! Start with Android Gray box automation
38mEspresso, beyond the basics
33mAndroid UI Testing & Challenges
56mEspresso is Awesome!
