Skip to content

Instantly share code, notes, and snippets.

@eric100lin
Created October 24, 2018 11:26
Show Gist options
  • Save eric100lin/54a0abfa2502a4f4ed10b1fe30e9ef2b to your computer and use it in GitHub Desktop.
Save eric100lin/54a0abfa2502a4f4ed10b1fe30e9ef2b to your computer and use it in GitHub Desktop.
Debug Android instrument test code
adb shell am instrument -w -r -e debug true com.your.package_name.test/android.support.test.runner.AndroidJUnitRunner
gradlew.bat connectedAndroidTest -Pandroid.testInstrumentationRunnerArguments.debug=true --continue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment