Skip to content

Instantly share code, notes, and snippets.

@brettmcginnis
Last active November 17, 2016 17:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save brettmcginnis/1a50c356f705247dd0aa to your computer and use it in GitHub Desktop.
Save brettmcginnis/1a50c356f705247dd0aa to your computer and use it in GitHub Desktop.
task bvtTest(dependsOn: 'connectedAvodDebugAndroidTest') {
group = 'Verification'
description = 'Runs the tests for debug on connected devices'
android.defaultConfig.testInstrumentationRunnerArguments.package = 'com.package.bvt'
}
// Requried for Continous Integration
// The gradle process will always pass even with test failures
// inspect test results app/build/outputs/androidTest-results/connected/
project.gradle.taskGraph.whenReady {
connectedAvodDebugAndroidTest {
ignoreFailures = true
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment