Class BctConfigExtension
java.lang.Object
org.apache.juneau.junit.bct.annotations.BctConfigExtension
- All Implemented Interfaces:
org.junit.jupiter.api.extension.AfterEachCallback,org.junit.jupiter.api.extension.BeforeEachCallback,org.junit.jupiter.api.extension.Extension
public class BctConfigExtension
extends Object
implements org.junit.jupiter.api.extension.BeforeEachCallback, org.junit.jupiter.api.extension.AfterEachCallback
JUnit 5 extension that processes
BctConfig annotations.
This extension automatically sets BCT settings before test execution and clears them after. It supports both class-level and method-level annotations, with method-level taking precedence.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterEach(org.junit.jupiter.api.extension.ExtensionContext context) voidbeforeEach(org.junit.jupiter.api.extension.ExtensionContext context)
-
Constructor Details
-
BctConfigExtension
public BctConfigExtension()
-
-
Method Details