mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-26 12:23:58 +01:00
Use mockito for all tests instead of just for UI tests (#3277)
This commit is contained in:
parent
96d36ba3d8
commit
57a8aefde6
1 changed files with 1 additions and 1 deletions
|
|
@ -68,6 +68,7 @@ dependencies {
|
||||||
testImplementation 'com.squareup.okhttp3:mockwebserver:3.12.1'
|
testImplementation 'com.squareup.okhttp3:mockwebserver:3.12.1'
|
||||||
testImplementation "org.powermock:powermock-module-junit4:2.0.0-beta.5"
|
testImplementation "org.powermock:powermock-module-junit4:2.0.0-beta.5"
|
||||||
testImplementation "org.powermock:powermock-api-mockito2:2.0.0-beta.5"
|
testImplementation "org.powermock:powermock-api-mockito2:2.0.0-beta.5"
|
||||||
|
testImplementation 'org.mockito:mockito-core:2.23.0'
|
||||||
|
|
||||||
// Android testing
|
// Android testing
|
||||||
androidTestImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION"
|
androidTestImplementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$KOTLIN_VERSION"
|
||||||
|
|
@ -78,7 +79,6 @@ dependencies {
|
||||||
androidTestImplementation 'androidx.test:rules:1.2.0'
|
androidTestImplementation 'androidx.test:rules:1.2.0'
|
||||||
androidTestImplementation 'androidx.annotation:annotation:1.1.0'
|
androidTestImplementation 'androidx.annotation:annotation:1.1.0'
|
||||||
androidTestImplementation 'com.squareup.okhttp3:mockwebserver:3.12.1'
|
androidTestImplementation 'com.squareup.okhttp3:mockwebserver:3.12.1'
|
||||||
androidTestImplementation 'org.mockito:mockito-core:2.13.0'
|
|
||||||
androidTestUtil 'androidx.test:orchestrator:1.2.0'
|
androidTestUtil 'androidx.test:orchestrator:1.2.0'
|
||||||
|
|
||||||
// Debugging
|
// Debugging
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue