Package | Description |
---|---|
org.junit.platform.engine |
Public API for test engines.
|
org.junit.platform.engine.discovery | |
org.junit.platform.launcher |
Public API for configuring and launching test plans.
|
org.junit.platform.launcher.core |
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder . |
Modifier and Type | Interface | Description |
---|---|---|
interface |
DiscoveryFilter<T> |
A
DiscoveryFilter is applied during test discovery to determine if
a given container or test should be included in the test plan. |
Modifier and Type | Method | Description |
---|---|---|
static <T,V> Filter<T> |
Filter.adaptFilter(Filter<V> adaptee,
java.util.function.Function<T,V> converter) |
Return a filter that will include elements if and only if the adapted
Filter includes the value converted using the supplied
Function . |
static <T> Filter<T> |
Filter.composeFilters(java.util.Collection<? extends Filter<T>> filters) |
Return a filter that will include elements if and only if all of the
filters in the supplied collection of
filters include it. |
static <T> Filter<T> |
Filter.composeFilters(Filter<T>... filters) |
Return a filter that will include elements if and only if all of the
filters in the supplied array of
filters include it. |
Modifier and Type | Method | Description |
---|---|---|
static <T,V> Filter<T> |
Filter.adaptFilter(Filter<V> adaptee,
java.util.function.Function<T,V> converter) |
Return a filter that will include elements if and only if the adapted
Filter includes the value converted using the supplied
Function . |
static <T> Filter<T> |
Filter.composeFilters(Filter<T>... filters) |
Return a filter that will include elements if and only if all of the
filters in the supplied array of
filters include it. |
Modifier and Type | Method | Description |
---|---|---|
static <T> Filter<T> |
Filter.composeFilters(java.util.Collection<? extends Filter<T>> filters) |
Return a filter that will include elements if and only if all of the
filters in the supplied collection of
filters include it. |
Modifier and Type | Interface | Description |
---|---|---|
interface |
ClassNameFilter |
DiscoveryFilter that is applied to the name of a Class . |
interface |
PackageNameFilter |
DiscoveryFilter that is applied to the name of a Package . |
Modifier and Type | Interface | Description |
---|---|---|
interface |
PostDiscoveryFilter |
A
PostDiscoveryFilter is applied to TestDescriptors
after test discovery. |
Modifier and Type | Class | Description |
---|---|---|
class |
EngineFilter |
An
EngineFilter is applied to all TestEngines
before they are used. |
Modifier and Type | Method | Description |
---|---|---|
LauncherDiscoveryRequestBuilder |
LauncherDiscoveryRequestBuilder.filters(Filter<?>... filters) |
Add all of the supplied
filters to the request. |