public class ParameterizedTestExtension extends Object implements org.junit.jupiter.api.extension.TestTemplateInvocationContextProvider
When use this extension, all tests must be annotated by TestTemplate
.
Constructor and Description |
---|
ParameterizedTestExtension() |
Modifier and Type | Method and Description |
---|---|
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
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.