void |
AfterAllCallback.afterAll(ExtensionContext context) |
Callback that is invoked once after all tests in the current
container.
|
void |
AfterEachCallback.afterEach(ExtensionContext context) |
Callback that is invoked after an individual test and any
user-defined teardown methods for that test have been executed.
|
void |
AfterTestExecutionCallback.afterTestExecution(ExtensionContext context) |
Callback that is invoked immediately after an individual test has
been executed but before any user-defined teardown methods have been
executed for that test.
|
void |
BeforeAllCallback.beforeAll(ExtensionContext context) |
Callback that is invoked once before all tests in the current
container.
|
void |
BeforeEachCallback.beforeEach(ExtensionContext context) |
Callback that is invoked before an individual test and any
user-defined setup methods for that test have been executed.
|
void |
BeforeTestExecutionCallback.beforeTestExecution(ExtensionContext context) |
Callback that is invoked immediately before an individual test is
executed but after any user-defined setup methods have been executed
for that test.
|
java.lang.Object |
TestInstanceFactory.createTestInstance(TestInstanceFactoryContext factoryContext,
ExtensionContext extensionContext) |
Callback for creating a test instance for the supplied context.
|
ConditionEvaluationResult |
ExecutionCondition.evaluateExecutionCondition(ExtensionContext context) |
|
default void |
LifecycleMethodExecutionExceptionHandler.handleAfterAllMethodExecutionException(ExtensionContext context,
java.lang.Throwable throwable) |
Handle the supplied Throwable that was thrown during execution of
a @AfterAll lifecycle method.
|
default void |
LifecycleMethodExecutionExceptionHandler.handleAfterEachMethodExecutionException(ExtensionContext context,
java.lang.Throwable throwable) |
Handle the supplied Throwable that was thrown during execution of
a @AfterEach lifecycle method.
|
default void |
LifecycleMethodExecutionExceptionHandler.handleBeforeAllMethodExecutionException(ExtensionContext context,
java.lang.Throwable throwable) |
Handle the supplied Throwable that was thrown during execution of
a @BeforeAll lifecycle method.
|
default void |
LifecycleMethodExecutionExceptionHandler.handleBeforeEachMethodExecutionException(ExtensionContext context,
java.lang.Throwable throwable) |
Handle the supplied Throwable that was thrown during execution of
a @BeforeEach lifecycle method.
|
void |
TestExecutionExceptionHandler.handleTestExecutionException(ExtensionContext context,
java.lang.Throwable throwable) |
Handle the supplied throwable .
|
default void |
InvocationInterceptor.interceptAfterAllMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation,
ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext,
ExtensionContext extensionContext) |
Intercept the invocation of an @AfterAll method.
|
default void |
InvocationInterceptor.interceptAfterEachMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation,
ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext,
ExtensionContext extensionContext) |
|
default void |
InvocationInterceptor.interceptBeforeAllMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation,
ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext,
ExtensionContext extensionContext) |
|
default void |
InvocationInterceptor.interceptBeforeEachMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation,
ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext,
ExtensionContext extensionContext) |
|
default void |
InvocationInterceptor.interceptDynamicTest(InvocationInterceptor.Invocation<java.lang.Void> invocation,
DynamicTestInvocationContext invocationContext,
ExtensionContext extensionContext) |
|
default void |
InvocationInterceptor.interceptDynamicTest(InvocationInterceptor.Invocation<java.lang.Void> invocation,
ExtensionContext extensionContext) |
Deprecated.
|
default <T> T |
InvocationInterceptor.interceptTestClassConstructor(InvocationInterceptor.Invocation<T> invocation,
ReflectiveInvocationContext<java.lang.reflect.Constructor<T>> invocationContext,
ExtensionContext extensionContext) |
Intercept the invocation of a test class constructor.
|
default <T> T |
InvocationInterceptor.interceptTestFactoryMethod(InvocationInterceptor.Invocation<T> invocation,
ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext,
ExtensionContext extensionContext) |
|
default void |
InvocationInterceptor.interceptTestMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation,
ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext,
ExtensionContext extensionContext) |
Intercept the invocation of a @Test method.
|
default void |
InvocationInterceptor.interceptTestTemplateMethod(InvocationInterceptor.Invocation<java.lang.Void> invocation,
ReflectiveInvocationContext<java.lang.reflect.Method> invocationContext,
ExtensionContext extensionContext) |
|
void |
TestInstancePostProcessor.postProcessTestInstance(java.lang.Object testInstance,
ExtensionContext context) |
Callback for post-processing the supplied test instance.
|
void |
TestInstancePreConstructCallback.preConstructTestInstance(TestInstanceFactoryContext factoryContext,
ExtensionContext context) |
Callback invoked prior to test instances being constructed.
|
void |
TestInstancePreDestroyCallback.preDestroyTestInstance(ExtensionContext context) |
Callback for processing test instances before they are destroyed.
|
static void |
TestInstancePreDestroyCallback.preDestroyTestInstances(ExtensionContext context,
java.util.function.Consumer<java.lang.Object> callback) |
Utility method for processing all test instances of an
ExtensionContext that are not present in any of its parent
contexts.
|
java.util.stream.Stream<TestTemplateInvocationContext> |
TestTemplateInvocationContextProvider.provideTestTemplateInvocationContexts(ExtensionContext context) |
|
java.lang.Object |
ParameterResolver.resolveParameter(ParameterContext parameterContext,
ExtensionContext extensionContext) |
|
boolean |
ParameterResolver.supportsParameter(ParameterContext parameterContext,
ExtensionContext extensionContext) |
|
boolean |
TestTemplateInvocationContextProvider.supportsTestTemplate(ExtensionContext context) |
Determine if this provider supports providing invocation contexts for the
test template method represented by the supplied context .
|
default void |
TestWatcher.testAborted(ExtensionContext context,
java.lang.Throwable cause) |
Invoked after a test has been aborted.
|
default void |
TestWatcher.testDisabled(ExtensionContext context,
java.util.Optional<java.lang.String> reason) |
Invoked after a disabled test has been skipped.
|
default void |
TestWatcher.testFailed(ExtensionContext context,
java.lang.Throwable cause) |
Invoked after a test has failed.
|
default void |
TestWatcher.testSuccessful(ExtensionContext context) |
Invoked after a test has completed successfully.
|