Skip to content

Instantly share code, notes, and snippets.

@zelic91
Last active August 29, 2015 14:23
Show Gist options
  • Save zelic91/2741e1b1cfa5664372b2 to your computer and use it in GitHub Desktop.
Save zelic91/2741e1b1cfa5664372b2 to your computer and use it in GitHub Desktop.
Android Testing Framework
// JUnit & Mockito
testCompile 'junit:junit:4.12'
testCompile "org.mockito:mockito-core:1.9.5"
// Espresso
androidTestCompile('com.android.support.test.espresso:espresso-core:2.0')
androidTestCompile('com.android.support.test:testing-support-lib:0.1')
androidTestCompile('com.jayway.android.robotium:robotium-solo:5.2.1')
testCompile 'org.hamcrest:hamcrest-core:1.1'
testCompile 'org.hamcrest:hamcrest-library:1.1'
testCompile 'org.hamcrest:hamcrest-integration:1.1'
testCompile('org.robolectric:robolectric:2.4') {
exclude module: 'classworlds'
exclude module: 'commons-logging'
exclude module: 'httpclient'
exclude module: 'maven-artifact'
exclude module: 'maven-artifact-manager'
exclude module: 'maven-error-diagnostics'
exclude module: 'maven-model'
exclude module: 'maven-project'
exclude module: 'maven-settings'
exclude module: 'plexus-container-default'
exclude module: 'plexus-interpolation'
exclude module: 'plexus-utils'
exclude module: 'wagon-file'
exclude module: 'wagon-http-lightweight'
exclude module: 'wagon-provider-api'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment