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

13. Supervised Monkey Tests with Espresso and UI Automator

Denys Zelenchuk1 
(1)
Zürich, Switzerland
 

Application stability is a top application quality indicator. Poor stability leads to low user ratings in Android PlayStore, which in turn lowers the application’s overall rating and reduces the downloads. In order to keep applications stable, the Android platform provides a tool called monkeyrunner ( https://developer.android.com/studio/test/monkeyrunner ) to test the application from the stability side.

Unfortunately, monkeyrunner is not integrated into Espresso or the UI Automator framework, which makes it almost useless for applications that ...

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.