This book is a guideline on how to write Android user interface tests for quality assurance engineers and test automation engineers who are interested in Android test automation using Espresso for Android (Espresso). It can also be valuable to Android developers involved in writing UI or integration tests.
This book was written mostly for software or test engineers with medium to advanced knowledge in Android test automation; however, engineers with basic development and test automation experience will benefit from it as well.
There is a lot of good official Android testing documentation out there, including GitHub projects with source code, but it is sometimes hard to find the needed portion of information, especially when it comes to plain automated UI end-to-end testing, which Android Espresso users face on a daily basis.
I tried to cover all the major topics of writing functional UI automated tests using the Espresso testing framework, including different ways of running automated tests, architecting test projects in easy and maintainable ways, and using tools that help to implement automated tests with the less effort.