Package | Description |
---|---|
org.junit.jupiter.api |
JUnit Jupiter API for writing tests.
|
org.junit.jupiter.engine.descriptor |
Test descriptors used within the JUnit Jupiter test engine.
|
Modifier and Type | Method and Description |
---|---|
static DynamicTest |
DynamicTest.dynamicTest(java.lang.String displayName,
Executable executable)
Factory for creating a new
DynamicTest for the supplied display
name and executable code block. |
Modifier and Type | Method and Description |
---|---|
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 supplied generators
and test executor.
|
Modifier and Type | Field and Description |
---|---|
private DynamicTest |
DynamicTestTestDescriptor.dynamicTest |
Constructor and Description |
---|
DynamicTestTestDescriptor(UniqueId uniqueId,
DynamicTest dynamicTest,
TestSource source) |