mirror of https://github.com/usbharu/Hideout.git
chore: テスト時のログを変更
This commit is contained in:
parent
2175653c54
commit
1a3333d5f8
|
@ -1,5 +1,4 @@
|
|||
import org.gradle.api.tasks.testing.logging.TestExceptionFormat
|
||||
import org.gradle.api.tasks.testing.logging.TestLogEvent
|
||||
|
||||
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
|
||||
import org.openapitools.generator.gradle.plugin.tasks.GenerateTask
|
||||
|
||||
|
@ -51,10 +50,6 @@ val integrationTest = task<Test>("integrationTest") {
|
|||
shouldRunAfter("test")
|
||||
|
||||
useJUnitPlatform()
|
||||
|
||||
testLogging {
|
||||
events("passed")
|
||||
}
|
||||
}
|
||||
|
||||
tasks.check { dependsOn(integrationTest) }
|
||||
|
@ -69,21 +64,6 @@ tasks.withType<Test> {
|
|||
"--add-opens", "java.base/java.lang=ALL-UNNAMED"
|
||||
).toMutableList()
|
||||
}
|
||||
testLogging {
|
||||
events(
|
||||
TestLogEvent.FAILED,
|
||||
TestLogEvent.SKIPPED,
|
||||
TestLogEvent.PASSED,
|
||||
TestLogEvent.STANDARD_OUT,
|
||||
TestLogEvent.STANDARD_ERROR,
|
||||
TestLogEvent.STARTED
|
||||
)
|
||||
exceptionFormat = TestExceptionFormat.FULL
|
||||
showCauses = true
|
||||
showExceptions = true
|
||||
showStackTraces = true
|
||||
setShowStandardStreams(true)
|
||||
}
|
||||
}
|
||||
|
||||
tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompilationTask<*>>().configureEach {
|
||||
|
|
Loading…
Reference in New Issue