@FunctionalInterface @API(value=Experimental) public interface AfterAllCallback extends Extension
AfterAllCallback defines the API for Extensions
that wish to provide additional behavior to test containers after all tests
have been invoked.
Concrete implementations often implement BeforeAllCallback as well.
Implementations must provide a no-args constructor.
AfterAll,
BeforeAllCallback,
BeforeEachCallback,
AfterEachCallback,
BeforeTestExecutionCallback,
AfterTestExecutionCallback| Modifier and Type | Method and Description |
|---|---|
void |
afterAll(ExtensionContext context)
Callback that is invoked once after all tests in the current
container.
|
void afterAll(ExtensionContext context) throws Exception
context - the current extension context; never nullException