- All Superinterfaces:
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface @API(status=STABLE, since="5.0") public interface AfterTestExecutionCallback extends Extension
AfterTestExecutionCallbackdefines the API for
Extensionsthat wish to provide additional behavior to tests immediately after each test has been executed.
Such callbacks will be invoked before any user defined teardown methods (e.g.,
Concrete implementations often implement
Implementations must provide a no-args constructor.
void afterTestExecution(ExtensionContext context) throws java.lang.ExceptionCallback that is invoked immediately after each test has been executed.
context- the current extension context; never