@FunctionalInterface @API(value=Experimental) public interface BeforeEachExtensionPoint extends ExtensionPoint
BeforeEachExtensionPoint defines the API for Extensions that wish to provide additional behavior to tests before
each test method has been invoked.
Concrete implementations often implement AfterEachExtensionPoint as well.
Implementations must provide a no-args constructor.
BeforeEach,
AfterEachExtensionPoint,
BeforeAllExtensionPoint,
AfterAllExtensionPoint| Modifier and Type | Method and Description |
|---|---|
void |
beforeEach(TestExtensionContext context)
Callback that is invoked before each test method has been invoked.
|
void beforeEach(TestExtensionContext context) throws java.lang.Exception
context - the current test extension contextjava.lang.Exception