© Denys Zelenchuk 2019Denys ZelenchukAndroid Espresso Revealedhttps://doi.org/10.1007/978-1-4842-4315-2_12
12. Testing Robot Pattern with Espresso and Kotlin
The next test automation pattern we discuss is the Testing Robot Pattern, which in fact is not much different than the Screen Object Pattern. The main idea behind it is similar—you separate the test implementation from the business logic. This pattern was created by Jake Wharton and was first presented in May, 2016.
Separating the What from the How
The concept of the Testing Robot Pattern is to separate what we are testing (the high-level representation of real-user application interactions or flows) from how we perform the testing (the low-level implementation ...