ABOUT     BOOKS

Android: Making Espresso Tests Work With Runtime Permissions

The new Runtime Permissions introduced in Android Marshmallow is a great addition to the platform. However, if your app is targeting SDK version 23 and you have Espresso Tests, it could create some complications.

Likely, your current Espresso tests assume that all permissions have been granted at install time. This …