Write For Us

AdapterViews and Espresso - Android Testing Patterns #3

E-Commerce Solutions SEO Solutions Marketing Solutions
191 Views
Published
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:
Espresso onData documentation:
Espresso DataAdapter Sample:
Watch more episodes of Android Testing Patterns here:
Subscribe to the Android Developers channel at
Category
Phone
Sign in or sign up to post comments.
Be the first to comment