Uses of Class
org.junit.jupiter.api.DynamicTest
Packages that use DynamicTest
Package
Description
JUnit Jupiter API for writing tests.
Test descriptors used within the JUnit Jupiter test engine.
-
Uses of DynamicTest in org.junit.jupiter.api
Methods in org.junit.jupiter.api that return DynamicTestModifier 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.Methods in org.junit.jupiter.api that return types with arguments of type DynamicTestModifier and TypeMethodDescriptionstatic <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<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. -
Uses of DynamicTest in org.junit.jupiter.engine.descriptor
Fields in org.junit.jupiter.engine.descriptor declared as DynamicTestConstructors in org.junit.jupiter.engine.descriptor with parameters of type DynamicTestModifierConstructorDescription(package private)
DynamicTestTestDescriptor
(UniqueId uniqueId, int index, DynamicTest dynamicTest, TestSource source, JupiterConfiguration configuration)