Package org.junit.platform.launcher
Interface LauncherDiscoveryRequest
-
- All Superinterfaces:
EngineDiscoveryRequest
@API(status=STABLE, since="1.0") public interface LauncherDiscoveryRequest extends EngineDiscoveryRequest
LauncherDiscoveryRequest
extends theEngineDiscoveryRequest
API with additional filters that are applied by theLauncher
itself.Specifically, a
LauncherDiscoveryRequest
contains the following.- Engine Filters: filters that are applied before
each
TestEngine
is executed. All of them have to include an engine for it to contribute to the test plan. - Configuration Parameters: configuration parameters that can be used to influence the discovery process
- Discovery Selectors: components that select
resources that a
TestEngine
can use to discover tests - Discovery Filters: filters that should be applied
by
TestEngines
during test discovery. All of them have to include a resource for it to end up in the test plan. - Post-Discovery Filters: filters that will be
applied by the
Launcher
afterTestEngines
have performed test discovery. All of them have to include aTestDescriptor
for it to end up in the test plan.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<EngineFilter>
getEngineFilters()
Get theEngineFilters
for this request.java.util.List<PostDiscoveryFilter>
getPostDiscoveryFilters()
Get thePostDiscoveryFilters
for this request.-
Methods inherited from interface org.junit.platform.engine.EngineDiscoveryRequest
getConfigurationParameters, getFiltersByType, getSelectorsByType
-
-
-
-
Method Detail
-
getEngineFilters
java.util.List<EngineFilter> getEngineFilters()
Get theEngineFilters
for this request.The returned filters are to be combined using AND semantics, i.e. all of them have to include an engine for it to contribute to the test plan.
- Returns:
- the list of
EngineFilters
for this request; nevernull
but potentially empty
-
getPostDiscoveryFilters
java.util.List<PostDiscoveryFilter> getPostDiscoveryFilters()
Get thePostDiscoveryFilters
for this request.The returned filters are to be combined using AND semantics, i.e. all of them have to include a
TestDescriptor
for it to end up in the test plan.- Returns:
- the list of
PostDiscoveryFilters
for this request; nevernull
but potentially empty
-
-