Mobile Testing
Espresso Idling Resources: Synchronizing Tests with Async Operations
Espresso's automatic synchronization is its killer feature: tests wait automatically until the main thread is idle before performing actions. But when your app does work on background threads — network calls, database operations, coroutines — Espresso doesn't automatically know when that work is done. IdlingResource solves this. How