Hello Espresso! Start with Android Gray box automation
summary
Espresso is a Google‑maintained Android UI automation library that demonstrates fast, low‑flakiness tests by integrating with instrumentation and auto‑waiting; examples show a basic input→click→assert test running in ~2 seconds, list handling via onData vs RecyclerViewActions (espresso‑contrib), intent verification and stubbing using Espresso‑Intents, and synchronization with a visible SimpleIdlingResource registered in IdlingRegistry register/unregister; code and runnable samples live in automationhacks/testingsamples on GitHub.
AI-written summary · about
chapters (28)
- 0:00Start
- 1:43Intro
- 2:41Expectations
- 3:41What Will We Cover
- 4:14What Is an Espresso Test How Is It Structured
- 6:13What Espresso Is
- 10:19Instrumentation Runner
- 11:59View Matcher
- 17:17Find the Element
- 19:29Layout Inspector
- 28:59Adapter View
- 30:07Negative Test
- 34:49Long List Activity Test
- 36:23Recycler Viewer
- 41:00Scroll to the Expect Expected Element
- 41:43Verify that Recyclerview Has this Specific Element
- 46:15How To Automate Intents
- 46:40Sample Application
- 1:07:19Code Example
- 1:12:10Quiz
- 1:14:43How To Automate Web Views
- 1:18:35Inspect Your Application
- 1:18:57Usb Debugging
- 1:19:22Chrome Developer Tools
- 1:19:56Chrome Debugging
- 1:21:13Start Your Web Test
- 1:23:44Android Studio
- 1:24:26App Source Code
related talks
44mDrink Espresso during Android Testing
53mSolving Espresso Android Autotest Issues in the Real World
38mEspresso, beyond the basics
43mUnlocking New Testing Capabilities with Espresso Driver
33mAndroid UI Testing & Challenges
42mRock-Solid UI and Instrumentation Testing
36mHow Espresso Works
45mUncover Secrets of Your App with EspressoDriver
