Top Description Interfaces Classes Enums
module org.junit.platform.launcher

Package org.junit.platform.launcher.core

Annotations
@NullMarked
Imports
org.jspecify.annotations.NullMarked

Core support classes for the Launcher including the LauncherFactory and the LauncherDiscoveryRequestBuilder.

Interface Summary

Modifier and TypeInterface and Description
public interface
LauncherConfig

LauncherConfig defines the configuration API for creating Launcher instances via the LauncherFactory.

Class Summary

Modifier and TypeClass and Description
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
DefaultDiscoveryRequest

DefaultDiscoveryRequest is the default implementation of the EngineDiscoveryRequest and LauncherDiscoveryRequest APIs.

pack-priv class
DefaultLauncher

Default implementation of the Launcher API.

pack-priv class
DefaultLauncherConfig

Default implementation of the LauncherConfig API.

pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
pack-priv class
public class
DiscoveryIssueException

DiscoveryIssueException is an exception that is thrown if an engine reports critical issues during test discovery.

pack-priv class
public class
EngineDiscoveryOrchestrator

Orchestrates test discovery using the configured test engines.

pack-priv class
EngineDiscoveryResultValidator

Perform common validation checks on the result from the `discover()` method.

public class
EngineExecutionOrchestrator

Orchestrates test execution using the configured test engines.

pack-priv class
pack-priv class
pack-priv class
ExecutionListenerAdapter

An ExecutionListenerAdapter adapts a TestPlan and a corresponding TestExecutionListener to the EngineExecutionListener API.

pack-priv class
HierarchicalOutputDirectoryCreator

Hierarchical OutputDirectoryCreator that creates directories based on the unique ID segments of a TestDescriptor.

pack-priv class
pack-priv class
pack-priv class
public class
LauncherDiscoveryRequestBuilder

The LauncherDiscoveryRequestBuilder provides a light-weight DSL for generating a LauncherDiscoveryRequest.

public class
LauncherDiscoveryResult

Represents the result of test discovery of the configured test engines.

public class
LauncherExecutionRequestBuilder

The LauncherExecutionRequestBuilder provides a light-weight DSL for generating a LauncherExecutionRequest.

public class
LauncherFactory

Factory for creating Launcher instances by invoking create() or create(LauncherConfig).

pack-priv class
pack-priv class
pack-priv class
OutcomeDelayingEngineExecutionListener

Delays reporting of engine skipped/finished events so that exceptions thrown by engines can be reported to listeners.

pack-priv class
public class
pack-priv class
pack-priv class
StackTracePruningEngineExecutionListener

Prunes the stack trace in case of a failed event.

pack-priv class
pack-priv class
pack-priv class

Enum Summary

Modifier and TypeEnum and Description
pack-priv enum
pack-priv enum