© Denys Zelenchuk 2019
Denys ZelenchukAndroid Espresso Revealedhttps://doi.org/10.1007/978-1-4842-4315-2_12

12. Testing Robot Pattern with Espresso and Kotlin

Denys Zelenchuk1 
(1)
Zürich, Switzerland
 

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 ...

Get Android Espresso Revealed: Writing Automated UI Tests now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.