Use logback for tests (reduce logging) (#154)
- Sets logback as test logging impl to respect logback-test.xml - Sets logback-test.xml to WARN by default - Sets testLogging.showStandardStreams to true to see all WARN logs
This commit is contained in:
@@ -22,3 +22,7 @@ dependencies {
|
||||
testImplementation 'org.testcontainers:junit-jupiter'
|
||||
testImplementation 'org.testcontainers:pulsar'
|
||||
}
|
||||
|
||||
test {
|
||||
testLogging.showStandardStreams = true
|
||||
}
|
||||
|
||||
@@ -25,8 +25,7 @@ dependencies {
|
||||
optional 'io.projectreactor:reactor-core'
|
||||
testImplementation 'org.junit.jupiter:junit-jupiter'
|
||||
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
|
||||
testRuntimeOnly 'org.apache.logging.log4j:log4j-core'
|
||||
testRuntimeOnly 'org.apache.logging.log4j:log4j-jcl'
|
||||
testRuntimeOnly 'ch.qos.logback:logback-classic:1.4.1'
|
||||
testImplementation 'io.micrometer:micrometer-observation-test'
|
||||
testImplementation 'io.micrometer:micrometer-tracing-bridge-brave'
|
||||
testImplementation 'io.micrometer:micrometer-tracing-test'
|
||||
|
||||
Reference in New Issue
Block a user