@FunctionalInterface @API(status=STABLE, since="5.0") 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.
Extensions that implement AfterAllCallback must be registered at
the class level.
Consult the documentation in Extension for details on
constructor requirements.
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 nullExceptionCopyright © 2018. All rights reserved.