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