mardi 20 janvier 2015

How Can use Espresso 2 (for tests) with extends Application (android.app.Application)?

I have gradle android-project. My project work, and my espresso-tests work too.


But If I adding my implementation android.app.Application (extends Application and <application android:name=".AppInstance" ... in AndroidManifest) - throw - tests not found, when I start their, by connectedAndroidTest.


How Can I use android.app.Application (extends Application) with library Espresso 2?


I found goode example with espresso 2 and extends Application (http://ift.tt/1ALO09J), but tests in this example do not work :(


Aucun commentaire:

Enregistrer un commentaire