Uses of Class
org.junit.jupiter.api.DynamicTest
-
Uses of DynamicTest in org.junit.jupiter.api
Modifier and TypeMethodDescriptionstatic DynamicTest
DynamicTest.dynamicTest(String displayName, URI testSourceUri, Executable executable)
Factory for creating a newDynamicTest
for the supplied display name, custom test sourceURI
, and executable code block.static DynamicTest
DynamicTest.dynamicTest(String displayName, Executable executable)
Factory for creating a newDynamicTest
for the supplied display name and executable code block.Modifier and TypeMethodDescriptionstatic <T> Stream<DynamicTest>
DynamicTest.stream(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> Stream<DynamicTest>
DynamicTest.stream(Iterator<T> inputGenerator, Function<? super T,String> displayNameGenerator, ThrowingConsumer<? super T> testExecutor)
Generate a stream of dynamic tests based on the given generator and test executor.static <T> Stream<DynamicTest>
DynamicTest.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> Stream<DynamicTest>
DynamicTest.stream(Stream<T> inputStream, Function<? super T,String> displayNameGenerator, ThrowingConsumer<? super T> testExecutor)
Generate a stream of dynamic tests based on the given input stream and test executor.