Espresso is the most popular UI testing framework for Android. It was released by Google in 2013 and is the easiest to use of its kind. It provides support for complex things, such as ensuring that an activity is run before the tests are run, or waiting till the observed background tasks are completed. These things were hard to synchronize prior to Espresso, and UI testing was considered a difficult thing to do.
In this recipe, we will learn how to use Espresso to perform acceptance testing.
Acceptance testing is a level of software testing where a system is tested for acceptability. The purpose of this test is to evaluate the system's compliance with the business requirements and assess whether it is acceptable for delivery.
Source:Â http://softwaretestingfundamentals.com/
Source:Â http://softwaretestingfundamentals.com/