mirror of
https://github.com/null2264/yokai.git
synced 2025-06-21 10:44:42 +00:00
fix: Test not actually running
This commit is contained in:
parent
0c19218ebb
commit
154c715287
2 changed files with 10 additions and 1 deletions
|
@ -306,10 +306,18 @@ dependencies {
|
|||
|
||||
// Tests
|
||||
testImplementation(libs.bundles.test)
|
||||
testRuntimeOnly(libs.bundles.test.runtime)
|
||||
androidTestImplementation(libs.junit.android)
|
||||
}
|
||||
|
||||
tasks {
|
||||
withType<Test> {
|
||||
useJUnitPlatform()
|
||||
testLogging {
|
||||
events("passed", "skipped", "failed")
|
||||
}
|
||||
}
|
||||
|
||||
// See https://kotlinlang.org/docs/reference/experimental.html#experimental-status-of-experimental-api(-markers)
|
||||
withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> {
|
||||
kotlinOptions.freeCompilerArgs += listOf(
|
||||
|
|
|
@ -81,4 +81,5 @@ gradle-versions = { id = "com.github.ben-manes.versions", version = "0.42.0" }
|
|||
|
||||
[bundles]
|
||||
coil = [ "coil3", "coil3-svg", "coil3-gif", "coil3-okhttp" ]
|
||||
test = [ "junit-api", "junit-engine", "mockk" ]
|
||||
test = [ "junit-api", "mockk" ]
|
||||
test-runtime = [ "junit-engine" ]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue