mercredi 21 février 2018

How to install only test apk when running tests

I need to run instrumentation tests using ui-automator on my app, which is installed as a system app. The app is a Launcher for Android TV.

What i need to do is make it so that running the Play button in Android Studio for some test class, it doesn't install the Launcher (since it will install in data, as a non system application) but only the test apk.

Is there a way to do this editing the Run Configuration? I don't want to use command line commands to run the tests.

Aucun commentaire:

Enregistrer un commentaire