Uses of Interface
org.junit.platform.launcher.LauncherDiscoveryRequest
Packages that use LauncherDiscoveryRequest
Package
Description
Public API for configuring and launching test plans.
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder
.Runner
and annotations for configuring and executing tests on the
JUnit Platform in a JUnit 4 environment.Test Kit for testing the execution of a
TestEngine
running on the JUnit Platform.-
Uses of LauncherDiscoveryRequest in org.junit.platform.launcher
Methods in org.junit.platform.launcher with parameters of type LauncherDiscoveryRequestModifier and TypeMethodDescriptionLauncher.discover
(LauncherDiscoveryRequest launcherDiscoveryRequest) Discover tests and build aTestPlan
according to the suppliedLauncherDiscoveryRequest
by querying all registered engines and collecting their results.void
Launcher.execute
(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners) Execute aTestPlan
which is built according to the suppliedLauncherDiscoveryRequest
by querying all registered engines and collecting their results, and notify registered listeners about the progress and results of the execution. -
Uses of LauncherDiscoveryRequest in org.junit.platform.launcher.core
Classes in org.junit.platform.launcher.core that implement LauncherDiscoveryRequestModifier and TypeClassDescription(package private) final class
DefaultDiscoveryRequest
is the default implementation of theEngineDiscoveryRequest
andLauncherDiscoveryRequest
APIs.Methods in org.junit.platform.launcher.core that return LauncherDiscoveryRequestModifier and TypeMethodDescriptionLauncherDiscoveryRequestBuilder.build()
Build theLauncherDiscoveryRequest
that has been configured via this builder.Methods in org.junit.platform.launcher.core with parameters of type LauncherDiscoveryRequestModifier and TypeMethodDescriptionDefaultLauncher.discover
(LauncherDiscoveryRequest discoveryRequest) private LauncherDiscoveryResult
DefaultLauncher.discover
(LauncherDiscoveryRequest discoveryRequest, String phase) EngineDiscoveryOrchestrator.discover
(LauncherDiscoveryRequest request, String phase) Discovers tests for the supplied request in the supplied phase using the configured test engines.private TestDescriptor
EngineDiscoveryOrchestrator.discoverEngineRoot
(TestEngine testEngine, LauncherDiscoveryRequest discoveryRequest) void
DefaultLauncher.execute
(LauncherDiscoveryRequest discoveryRequest, TestExecutionListener... listeners) -
Uses of LauncherDiscoveryRequest in org.junit.platform.runner
Methods in org.junit.platform.runner that return LauncherDiscoveryRequestModifier and TypeMethodDescriptionprivate LauncherDiscoveryRequest
JUnitPlatform.createDiscoveryRequest()
private LauncherDiscoveryRequest
JUnitPlatform.createDiscoveryRequestForUniqueIds
(Set<TestIdentifier> testIdentifiers) Methods in org.junit.platform.runner with parameters of type LauncherDiscoveryRequestModifier and TypeMethodDescriptionprivate JUnitPlatformTestTree
JUnitPlatform.generateTestTree
(LauncherDiscoveryRequest discoveryRequest) -
Uses of LauncherDiscoveryRequest in org.junit.platform.testkit.engine
Methods in org.junit.platform.testkit.engine with parameters of type LauncherDiscoveryRequestModifier and TypeMethodDescriptionstatic EngineExecutionResults
EngineTestKit.execute
(String engineId, LauncherDiscoveryRequest discoveryRequest) Execute tests for the givenLauncherDiscoveryRequest
using theTestEngine
with the supplied ID.static EngineExecutionResults
EngineTestKit.execute
(TestEngine testEngine, LauncherDiscoveryRequest discoveryRequest) Execute tests for the givenLauncherDiscoveryRequest
using the suppliedTestEngine
.private static void
EngineTestKit.executeUsingLauncherOrchestration
(TestEngine testEngine, LauncherDiscoveryRequest discoveryRequest, EngineExecutionListener listener)