AndroidAPS/gradle/test_dependencies.gradle

32 lines
1.1 KiB
Groovy
Raw Permalink Normal View History

2021-02-18 18:54:01 +01:00
dependencies {
testImplementation "junit:junit:$junit_version"
2021-08-19 13:33:09 +02:00
testImplementation 'org.json:json:20210307'
testImplementation "org.mockito:mockito-core:$mockitoVersion"
testImplementation "org.mockito:mockito-inline:$mockitoVersion"
2021-02-18 18:54:01 +01:00
testImplementation "joda-time:joda-time:$jodatime_version"
2021-08-19 13:33:09 +02:00
testImplementation('com.google.truth:truth:1.1.3') {
2021-02-18 18:54:01 +01:00
exclude group: "com.google.guava", module: "guava"
}
testImplementation "org.skyscreamer:jsonassert:1.5.0"
testImplementation "org.hamcrest:hamcrest-all:1.3"
2021-08-19 13:33:09 +02:00
androidTestImplementation 'androidx.test.espresso:espresso-core:3.4.0'
2021-02-18 18:54:01 +01:00
androidTestImplementation "androidx.test.ext:junit:$androidx_junit"
androidTestImplementation "androidx.test:rules:$androidx_rules"
androidTestImplementation 'androidx.test.uiautomator:uiautomator:2.2.0'
}
android {
testOptions {
unitTests {
returnDefaultValues = true
includeAndroidResources = true
all {
maxParallelForks = 10
forkEvery = 20
}
}
}
2021-09-25 18:42:45 +02:00
}