Espresso does most of the heavy lifting for you when it comes to detecting when the UI is idle. But if you're using any custom background threads or scheduling for long running jobs, you might need to add and manage an IdlingResource to tell Espresso when your app is busy and when it's idle.
Watch more episodes of Android Testing Patterns here:
Subscribe to the Android Developers channel at
Watch more episodes of Android Testing Patterns here:
Subscribe to the Android Developers channel at
- Category
- Phone
Sign in or sign up to post comments.
Be the first to comment
Up Next
-
Gesture Navigation: Insets - Android Development Patterns
by Edy 163 Views -
Background work with JobScheduler (Android Development Patterns S3 Ep 12)
by lily 239 Views -
UI testing with Espresso - Android Testing Patterns #2
by lily 263 Views -
App Launch time 101 (Android Performance Patterns Season 6 Ep. 1)
by lily 176 Views -
Android Development Patterns Season 2 - Coming Soon!
by lily 189 Views -
Android Performance Patterns: Understanding Overdraw
by lily 214 Views -
Android Performance Patterns: Understanding VSYNC
by lily 213 Views -
Android Performance Patterns: Battery Drain and WakeLocks
by lily 258 Views -
Wear & Sensors (Android Performance Patterns Season 2 ep2)
by lily 188 Views -
Android Performance Patterns: Overdraw, Cliprect, QuickReject
by lily 190 Views -
Android Performance Patterns: Android UI and the GPU
by lily 228 Views -
#Cachematters for networking (Android Performance Patterns Season 4 ep1)
by lily 193 Views -
Tasks and the Back Stack (Android Development Patterns)
by lily 209 Views -
Android Performance Patterns: Understanding Battery Drain on Android
by lily 259 Views -
Android Performance Patterns: Garbage Collection in Android
by lily 189 Views -
Android Design in Action: Navigation Anti-Patterns
by lily 384 Views -
Android Performance Patterns: Tool - Memory Monitor
by lily 211 Views -
Android Performance Patterns: Why 60fps?
by lily 196 Views -
AdapterViews and Espresso - Android Testing Patterns #3
by lily 190 Views -
Building a Responsive UI in Android (Android Development Patterns)
by lily 256 Views -
Quick Settings Tiles (Android Development Patterns S3 Ep 13)
by lily 197 Views -
Android Testing Support - Android Testing Patterns #1
by lily 280 Views
Add to playlist
Sorry, only registred users can create playlists.