public class RetryingTestExtension
extends java.lang.Object
implements org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider, org.junit.jupiter.api.extension.TestExecutionExceptionHandler
Constructor and Description |
---|
RetryingTestExtension() |
Modifier and Type | Method and Description |
---|---|
void |
handleTestExecutionException(org.junit.jupiter.api.extension.ExtensionContext context,
java.lang.Throwable throwable) |
java.util.stream.Stream<org.junit.jupiter.api.extension.TestTemplateInvocationContext> |
provideTestTemplateInvocationContexts(org.junit.jupiter.api.extension.ExtensionContext context) |
boolean |
supportsTestTemplate(org.junit.jupiter.api.extension.ExtensionContext context) |
public boolean supportsTestTemplate(org.junit.jupiter.api.extension.ExtensionContext context)
supportsTestTemplate
in interface org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
public java.util.stream.Stream<org.junit.jupiter.api.extension.TestTemplateInvocationContext> provideTestTemplateInvocationContexts(org.junit.jupiter.api.extension.ExtensionContext context)
provideTestTemplateInvocationContexts
in interface org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
public void handleTestExecutionException(org.junit.jupiter.api.extension.ExtensionContext context, java.lang.Throwable throwable) throws java.lang.Throwable
handleTestExecutionException
in interface org.junit.jupiter.api.extension.TestExecutionExceptionHandler
java.lang.Throwable