mardi 5 mai 2015

ActivityTestRule - how to call code before Application's onCreate

I am using Espresso 2.1 with ActivityTestRule, and I am looking for a way to set some static flags before onCreate in my Application will be called.

I have some init code that I don't want called during instrumentation tests.

Aucun commentaire:

Enregistrer un commentaire