January 2019
Intermediate to advanced
392 pages
10h 11m
English
Let's write some test cases. To write this code, we need to create new files in the androidTest package. To do this, follow the steps:

Let's create our very first Espresso test:
First of all, we need to connect our MainActivity class. To do this, we will initialize a variable of ActivityTestRule<MainActivity> and it will provide all the functionalities for the MainActivity ...