Skip to content

Commit

Permalink
feat : kotest CI 환경 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
HamBP committed Nov 20, 2023
1 parent 980fb56 commit 6850487
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 0 additions & 8 deletions android/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,4 @@ plugins {
alias(libs.plugins.navigation.safe.args) apply false
}

tasks.register<Test>("test") {
useJUnitPlatform()
reports {
junitXml.required.set(false)
}
systemProperty("gradle.build.dir", project.buildDir)
}

true // Needed to make the Suppress annotation work for the plugins block
8 changes: 8 additions & 0 deletions android/core/domain/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ tasks.withType<Test>().configureEach {
useJUnitPlatform()
}

tasks.getByName<Test>("test") {
useJUnitPlatform()
reports {
junitXml.required.set(false)
}
systemProperty("gradle.build.dir", project.buildDir)
}

dependencies {
testImplementation(libs.junit)
testImplementation(libs.kotest.runner)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ class TestConfig : AbstractProjectConfig() {
JunitXmlReporter(
includeContainers = false, // don't write out status for all tests
useTestPathAsName = true, // use the full test path (ie, includes parent test names)
outputDir = "test-results/excludeContainers"
outputDir = "../build/test-results"
)
)
}

0 comments on commit 6850487

Please sign in to comment.