Uses of Class
org.junit.jupiter.api.DynamicTest
| Package | Description |
|---|---|
| org.junit.jupiter.api |
JUnit Jupiter API for writing tests.
|
-
Uses of DynamicTest in org.junit.jupiter.api
Methods in org.junit.jupiter.api that return DynamicTest Modifier and Type Method Description static DynamicTestDynamicTest. dynamicTest(java.lang.String displayName, java.net.URI testSourceUri, Executable executable)Factory for creating a newDynamicTestfor the supplied display name, custom test sourceURI, and executable code block.static DynamicTestDynamicTest. dynamicTest(java.lang.String displayName, Executable executable)Factory for creating a newDynamicTestfor the supplied display name and executable code block.Methods in org.junit.jupiter.api that return types with arguments of type DynamicTest Modifier and Type Method Description static <T> java.util.stream.Stream<DynamicTest>DynamicTest. stream(java.util.Iterator<? extends Named<T>> inputGenerator, ThrowingConsumer<? super T> testExecutor)Generate a stream of dynamic tests based on the given generator and test executor.static <T> java.util.stream.Stream<DynamicTest>DynamicTest. stream(java.util.Iterator<T> inputGenerator, java.util.function.Function<? super T,java.lang.String> displayNameGenerator, ThrowingConsumer<? super T> testExecutor)Generate a stream of dynamic tests based on the given generator and test executor.static <T> java.util.stream.Stream<DynamicTest>DynamicTest. stream(java.util.stream.Stream<? extends Named<T>> inputStream, ThrowingConsumer<? super T> testExecutor)Generate a stream of dynamic tests based on the given input stream and test executor.static <T> java.util.stream.Stream<DynamicTest>DynamicTest. stream(java.util.stream.Stream<T> inputStream, java.util.function.Function<? super T,java.lang.String> displayNameGenerator, ThrowingConsumer<? super T> testExecutor)Generate a stream of dynamic tests based on the given input stream and test executor.