mirror of
https://github.com/usbharu/Hideout.git
synced 2026-07-23 05:34:38 +00:00
chore: テスト時のログを変更
This commit is contained in:
+1
-21
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user