Package io.quarkus.test.junit
Class BasicLoggingEnabler
- java.lang.Object
-
- io.quarkus.test.junit.BasicLoggingEnabler
-
- All Implemented Interfaces:
org.junit.jupiter.api.extension.BeforeAllCallback
,org.junit.jupiter.api.extension.Extension
public class BasicLoggingEnabler extends Object implements org.junit.jupiter.api.extension.BeforeAllCallback
A (global) JUnit callback that enables/sets up basic logging if logging has not already been set up. This is useful for getting log output from non-Quarkus tests (if executed separately or before the first Quarkus test), but also for getting instant log output fromQuarkusTestResourceLifecycleManagers
etc. This callback can be disabled viaCFGKEY_ENABLED
injunit-platform.properties
or via system property.
-
-
Constructor Summary
Constructors Constructor Description BasicLoggingEnabler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
beforeAll(org.junit.jupiter.api.extension.ExtensionContext context)
-