Module org.junit.platform.launcher
Package org.junit.platform.launcher
package org.junit.platform.launcher
Public API for configuring and launching test plans.
This API is typically used by IDEs and build tools.
-
ClassDescription
EngineDiscoveryResult
encapsulates the result of test discovery by aTestEngine
.Status of test discovery by aTestEngine
.AnEngineFilter
is applied to allTestEngines
before they are used.TheLauncher
API is the main entry point for client code that wishes to discover and execute tests using one or more test engines.Collection of constants related toLauncher
.Register a concrete implementation of this interface with aLauncherDiscoveryRequestBuilder
orLauncher
to be notified of events that occur during test discovery.LauncherDiscoveryRequest
extends theEngineDiscoveryRequest
API with additional filters that are applied by theLauncher
itself.TheLauncherSession
API is the main entry point for client code that wishes to repeatedly discover and execute tests using one or more test engines.Register an implementation of this interface to be notified when aLauncherSession
is opened and closed.APostDiscoveryFilter
is applied toTestDescriptors
after test discovery.Factory methods for creatingPostDiscoveryFilters
based on included and excluded tags or tag expressions.Register a concrete implementation of this interface with aLauncher
to be notified of events that occur during test execution.Immutable data transfer object that represents a test or container which is usually part of aTestPlan
.TestPlan
describes the tree of tests and containers as discovered by aLauncher
.