Skip to content

Instantly share code, notes, and snippets.

Last active Mar 7, 2018
What would you like to do?
# Check if device is connected
if [[ $(adb get-state) ]]; then
# Run Android and jUnit tests
./gradlew clean testDebug connectedDebugAndroidTest
# Run jUnit tests
./gradlew clean testDebug
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment