Mobile automation testing is difficult considering variety of different android devices and OS versions.But I have simplified the Espresso for you all. As per my experience Espresso is great tool supported by Google for functional testing. Espresso allows you to do inter app testing and code coverage measure.
What is Espresso ?
Espresso is Android's Testing Framework used for writing effective and reliable UI Test cases.Espresso synchronizes actions written in test with application user interface.Before Test case run Espresso ensures that the activity is started. Espresso is intended to perform testing on single application but still it allows testing outside of your application as a black box testing.
Espresso Test cases has three components View Matchers,View Actions and View Assertions. We will see there components in detail as we move on to Espresso Tutorial.
Espresso Tutorial-
How to Setup Espresso for functional Testing?
How to Add and Run Your First Espresso Test Case ?
How to use View Matchers, View Actions and View Assertions in Espresso?
How to Create Custome Matcher in Espresso?
Testing Recycler Viewwith Espresso
Testing List View with Espresso Data Adapter
How to Test Dialer Activity with Espresso Intent?
How to Test Camera Activity with Espresso Intent?
Testing Web Views using Espresso Web
Espresso Resource Idling Example.
Espresso Multiprocess
Take Screenshot