ISSUE-44: Hithomelabs/HomeLabDocker#44 making tests more verbose

This commit is contained in:
hitanshu310 2025-11-15 01:27:32 +05:30 committed by hitanshu
parent 8b22064040
commit f36d807731

View File

@ -18,6 +18,11 @@ test {
useJUnitPlatform { useJUnitPlatform {
excludeTags 'integration' excludeTags 'integration'
} }
testLogging {
events "passed", "skipped", "failed", "standardOut", "standardError"
exceptionFormat "full" // shows full stack trace
showStandardStreams = true // shows println/log output
}
} }
tasks.register('integrationTestOnly', Test) { tasks.register('integrationTestOnly', Test) {
@ -26,6 +31,11 @@ tasks.register('integrationTestOnly', Test) {
} }
description = 'Runs only integration tests tagged with @Tag("integration")' description = 'Runs only integration tests tagged with @Tag("integration")'
group = 'verification' group = 'verification'
testLogging {
events "passed", "skipped", "failed"
exceptionFormat "full"
showStandardStreams = true
}
} }
repositories { repositories {