Idling Resource - Android Testing Patterns #4
Channel:
Subscribers:
1,350,000
Published on ● Video Link: https://www.youtube.com/watch?v=uCtzH0Rz5XU
Learn up-to-date Android testing practices by checking out the new testing course material:
Advanced Android in Kotlin Testing codelab course, lesson 3 - https://goo.gle/2SJfV8A
Advanced Android in Kotlin video course (Testing Lessons) - https://goo.gle/2wxraYZ
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: https://goo.gl/g1bLh4
#testing
Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Other Videos By Android Developers
Tags:
Android
idlingresource
countingidlingresource
testing
android
espresso
UI test
testing support library
testing patterns
product: android
fullname: Wojtek Kalicinski
Location: LON
Team: Scalable Advocacy
Type: DevByte
GDS: Full Production