I want to run androidTest without installing the apk which is to be tested. Here are my tries:
I use commandline to run android test.
adb install -r app/build/outputs/apk/app-debug.apk
adb shell am instrument -e mytestclass#mytestmethod -w my.test.pkg/android.support.test.runner.AndroidJUnitRunner
It works fine, but I can't bear that I must change mytestclass#mytestmethod everytime and I can't see the test report.
My goal is to test android app using robotium in the blackbox way.