Package | Description |
---|---|
org.junit.jupiter.api |
JUnit Jupiter API for writing tests.
|
Modifier and Type | Method | Description |
---|---|---|
static DynamicTest |
DynamicTest.dynamicTest(String displayName,
URI testSourceUri,
Executable executable) |
Factory for creating a new
DynamicTest for the supplied display
name, custom test source URI , and executable code block. |
static DynamicTest |
DynamicTest.dynamicTest(String displayName,
Executable executable) |
Factory for creating a new
DynamicTest for the supplied display
name and executable code block. |
Modifier and Type | Method | Description |
---|---|---|
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 supplied generators
and test executor.
|
Copyright © 2019. All rights reserved.