ISSUE-44: Hithomelabs/HomeLabDocker#44 making tests more verbose
All checks were successful
sample gradle build and test / build (pull_request) Successful in 1m41s
All checks were successful
sample gradle build and test / build (pull_request) Successful in 1m41s
This commit is contained in:
parent
d194828c44
commit
95ec64630a
10
build.gradle
10
build.gradle
@ -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 {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user