Skip to content

Instantly share code, notes, and snippets.

@shanmugasanthosh7
Created June 23, 2018 07:32
Show Gist options
  • Save shanmugasanthosh7/7eb0c60b346a1d44f8bdc545fd7bdd37 to your computer and use it in GitHub Desktop.
Save shanmugasanthosh7/7eb0c60b346a1d44f8bdc545fd7bdd37 to your computer and use it in GitHub Desktop.
Unit and UI Testing setup
dependencies {
testImplementation 'junit:junit:4.12'
testImplementation "org.mockito:mockito-core:${rootProject.ext.mockitoVersion}"
androidTestImplementation "org.mockito:mockito-core:${rootProject.ext.mockitoVersion}"
androidTestImplementation "org.mockito:mockito-android:${rootProject.ext.mockitoVersion}"
androidTestImplementation "org.hamcrest:hamcrest-library:${rootProject.ext.hamcrest}"
testImplementation "org.hamcrest:hamcrest-library:${rootProject.ext.hamcrest}"
androidTestImplementation "com.android.support.test:runner:${rootProject.ext.runnerVersion}"
androidTestImplementation "com.android.support.test:rules:$rootProject.ext.rulesVersion"
androidTestImplementation "com.android.support.test.espresso:espresso-core:${rootProject.ext.espressoVersion}"
androidTestImplementation "com.android.support.test.espresso:espresso-contrib:$rootProject.ext.espressoVersion"
androidTestImplementation "com.android.support.test.espresso:espresso-intents:$rootProject.ext.espressoVersion"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment