02:13AdapterViews and Espresso - Android Testing Patterns #3
From the creator
Learn up-to-date Android testing practices by checking out the new testing course material: Advanced Android in Kotlin Testing codelab course, lesson 2 - https://goo.gle/37N3Pzk Advanced Android in Kotlin video course (Testing Lessons) - https://goo.gle/2wxraYZ Testing lists, grids and spinners with Espresso needs a different approach than the standard View matching with onView(). Learn how to use onData() to look for data in the Adapters backing your AdapterViews to easily bring the required row on screen. Further reading: AdapterViews and Espresso on Medium: https://goo.gl/PYBsOq Espresso onData documentation: https://goo.gl/sMBXJY Espresso DataAdapter Sample: https://goo.gl/1EwQs2 Watch more episodes of Android Testing Patterns here: https://goo.gl/g1bLh4 #testing Subscribe to the Android Developers channel at http://goo.gl/GEh1ds
Published 2016-06-01 · Watch on YouTube ↗
Availability and playback restrictions are controlled by the original channel.





