Idling Resource - Android Testing Patterns #4

33 139
28.7
Опубликовано 13 июля 2016, 17:00
Learn up-to-date Android testing practices by checking out the new testing course material:
Advanced Android in Kotlin Testing codelab course, lesson 3 - goo.gle/2SJfV8A
Advanced Android in Kotlin video course (Testing Lessons) - 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: goo.gl/g1bLh4

#testing

Subscribe to the Android Developers channel at goo.gl/GEh1ds
автотехномузыкадетское