Idling Resource - Android Testing Patterns #4

Subscribers:
1,350,000
Published on ● Video Link: https://www.youtube.com/watch?v=uCtzH0Rz5XU



Duration: 4:35
32,758 views
380


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


2016-08-17Android Developer Story: Veewo builds a successful games business on Google Play
2016-08-16App Launch time 101 (Android Performance Patterns Season 6 Ep. 1)
2016-08-11Direct Boot (Android Development Patterns S3 Ep 8)
2016-08-10Android Developer Story: Hole19 improves retention with Wear OS by Google (formerly Android Wear)
2016-08-03Android Developer Story: Money Forward improves user engagement and user security on Google Play
2016-07-28Data Saver (Android Development Patterns S3 Ep 6)
2016-07-27Android Developer Story: Culture Alley reaches millions of English learners on Google Play
2016-07-21Grouped Notifications (Android Development Patterns S3 Ep 5)
2016-07-20Android Developer Story: StoryToys finds success with the Family section on Google Play
2016-07-14Notifications with Direct Reply (Android Development Patterns S3 Ep 4)
2016-07-13Idling Resource - Android Testing Patterns #4
2016-07-07An ~extended~ Doze mode (Android Development Patterns S3 Ep 3)
2016-07-06Google Rapid Prototyping
2016-07-06Google App Monetization
2016-06-30Google App Marketing
2016-06-30Picture in Picture on Android TV (Android Development Patterns S3 Ep 2)
2016-06-29Google Product Design
2016-06-29Android Developer Story: AliExpress Improves User Experience with Smart Lock and Google Sign-in
2016-06-23Designing for Split-Screen Multi-Window (Android Development Patterns S3 Ep 1)
2016-06-15Android Developer Story: Sendy uses Google Play features to build for the next billion users
2016-06-08How startups are succeeding on Google Play - Google I/O 2016



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