AdapterViews and Espresso - Android Testing Patterns #3

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



Duration: 3:03
39,114 views
279


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




Other Videos By Android Developers


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
2016-06-08Android Developer Story: Framy improves user experience with Material Design
2016-06-03WhatsApp and Google Drive: The story of our integration - Google I/O 2016
2016-06-02High Performance Games and VR with FPL Technologies - Google I/O 2016
2016-06-01Turbocharge app conversions with Android Pay - Google I/O 2016
2016-06-01AdapterViews and Espresso - Android Testing Patterns #3
2016-06-01Android Developer Story: Divmob finds more users with localized pricing on Google Play
2016-05-31Gradle for Android and Java course
2016-05-31Experts App Clinic: Best practices when building apps for billions - Google I/O 2016
2016-05-27Google Play Awards - Google I/O 2016
2016-05-27What’s new with Notifications in Android N and Android Wear 2.0 - Google I/O 2016
2016-05-26An in-depth look at the Leanback Library - Google I/O 2016
2016-05-26Make money on Google Play - Google I/O 2016
2016-05-26Google Play: We are family - Google I/O 2016
2016-05-26Making money on Google Play
2016-05-25The rules of the games: What app developers can learn from games - Google I/O 2016



Tags:
Android
adapterview
listview
gridview
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