dimanche 28 août 2016

CTS instrumentation target package

I'm trying to test my testcase in CTS console. When I run my testcase via android studio,the instrumentation is get installed and all the tests pass the cts plan. But when I run the cts plan without the android studio (I take the test APK from the outputs),all the tests fail with this error:

Unable to find instrumentation target package: In my gradle I added this:

applicationId "x"
    testApplicationId "x.test"
    testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner"

I tried to add an instrumentation tag to the manifest tag also targeting both packages (x and x.test).

What am I missing?

Aucun commentaire:

Enregistrer un commentaire