I'd like to install and start an Android app with:
adb install path_to_apk
adb shell am start -a mainActivityAPP
and then run Espresso tests with:
adb shell am instrument -w <test_package_name>/<runner_class>
How do I prevent ActivityScenarioRule from launching a given activity before tests start and closing after tests?
from Running Espresso tests with ADB without opening/closing app?
No comments:
Post a Comment