Skip to content

Instantly share code, notes, and snippets.

@zwliew
Last active February 26, 2019 05:16
Show Gist options
  • Save zwliew/42f8fe03a3c450c7877a980e39f11598 to your computer and use it in GitHub Desktop.
Save zwliew/42f8fe03a3c450c7877a980e39f11598 to your computer and use it in GitHub Desktop.
UI Testing the Get Hacking Android App
dependencies {
// ...Other app dependencies...
// Tests
def espresso_version = '3.1.1'
implementation "androidx.test.espresso:espresso-idling-resource:$espresso_version"
// On-device tests
androidTestImplementation "androidx.test.espresso:espresso-core:$espresso_version"
androidTestImplementation "androidx.test.espresso:espresso-intents:$espresso_version"
androidTestImplementation "androidx.test.espresso:espresso-contrib:$espresso_version"
androidTestImplementation "androidx.test.espresso.idling:idling-concurrent:$espresso_version"
def test_version = '1.1.0'
androidTestImplementation "androidx.test:core:$test_version"
androidTestImplementation 'androidx.test:runner:1.1.1'
androidTestImplementation "androidx.test.ext:junit:$test_version"
androidTestImplementation "androidx.test.ext:truth:$test_version"
androidTestUtil 'androidx.test:orchestrator:1.1.1'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment