mirror of
https://gitlab.com/ultrasonic/ultrasonic.git
synced 2025-04-14 08:27:15 +03:00
Use JUnit5 engine to run unit tests in android modules.
This commit is contained in:
parent
f422ba30b9
commit
21bcb5429a
@ -13,7 +13,6 @@ dependencies {
|
||||
exclude group: "com.android.support"
|
||||
}
|
||||
|
||||
testImplementation testing.junit
|
||||
testImplementation testing.kotlinJunit
|
||||
testImplementation testing.mockito
|
||||
testImplementation testing.mockitoInline
|
||||
|
@ -49,8 +49,15 @@ android {
|
||||
sourceCompatibility = JavaVersion.VERSION_1_8
|
||||
targetCompatibility = JavaVersion.VERSION_1_8
|
||||
|
||||
tasks.withType(Test) {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
api other.kotlinStdlib
|
||||
|
||||
testImplementation testing.junit
|
||||
testRuntimeOnly testing.junitVintage
|
||||
}
|
||||
|
||||
jacoco {
|
||||
|
@ -49,6 +49,10 @@ android {
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType(Test) {
|
||||
useJUnitPlatform()
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation project(':core:menudrawer')
|
||||
implementation project(':core:pulltorefresh')
|
||||
@ -67,6 +71,7 @@ dependencies {
|
||||
|
||||
testImplementation other.kotlinReflect
|
||||
testImplementation testing.junit
|
||||
testRuntimeOnly testing.junitVintage
|
||||
testImplementation testing.kotlinJunit
|
||||
testImplementation testing.mockitoKotlin
|
||||
testImplementation testing.kluent
|
||||
|
Loading…
x
Reference in New Issue
Block a user