Package org.junit.platform.launcher.core
package org.junit.platform.launcher.core
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder.-
ClassDescription
DefaultDiscoveryRequestis the default implementation of theEngineDiscoveryRequestandLauncherDiscoveryRequestAPIs.Default implementation of theLauncherAPI.Default implementation of theLauncherConfigAPI.DiscoveryIssueExceptionis an exception that is thrown if an engine reports critical issues during test discovery.Orchestrates test discovery using the configured test engines.Perform common validation checks on the result from the `discover()` method.Orchestrates test execution using the configured test engines.AnExecutionListenerAdapteradapts aTestPlanand a correspondingTestExecutionListenerto theEngineExecutionListenerAPI.HierarchicalOutputDirectoryCreatorthat creates directories based on the unique ID segments of aTestDescriptor.LauncherConfigdefines the configuration API for creatingLauncherinstances via theLauncherFactory.Builder API forLauncherConfig.TheLauncherDiscoveryRequestBuilderprovides a light-weight DSL for generating aLauncherDiscoveryRequest.Represents the result of test discovery of the configured test engines.Factory for creatingLauncherinstances by invokingLauncherFactory.create()orLauncherFactory.create(LauncherConfig).The phase theLauncheris in.Delays reporting of engine skipped/finished events so that exceptions thrown by engines can be reported to listeners.Prunes the stack trace in case of a failed event.