Task 1: Set up Espresso in your project
1.1 Check for the Android Support Repository
1.2 Configure Espresso for the project
1.3 Turn off animations on your test device
Task 2: Test for switching activities and entering text
2.1 Define a class for a test and set up the activity
2.2 Test switching activities
2.3 Test text input and output
2.4 Introduce an error to show a test failing
Task 3: Test the display of spinner selections
3.1 Create the test method
3.2 Access the array used for the spinner items
3.3 Locate spinner items and click on them
Task 4: Record a test of a RecyclerView
4.1 Open and run the app
4.2 Record the test
Leave a Reply