Package org.junit.platform.launcher
Public API for configuring and launching test plans.
This API is typically used by IDEs and build tools.
-
Interface Summary Interface Description Launcher TheLauncherAPI is the main entry point for client code that wishes to discover and execute tests using one or more test engines.LauncherDiscoveryListener Register a concrete implementation of this interface with aLauncherDiscoveryRequestBuilderorLauncherto be notified of events that occur during test discovery.LauncherDiscoveryRequest LauncherDiscoveryRequestextends theEngineDiscoveryRequestAPI with additional filters that are applied by theLauncheritself.LauncherInterceptor Interceptor for test discovery and execution by aLauncherin the context of aLauncherSession.LauncherInterceptor.Invocation<T> An invocation that can be intercepted.LauncherSession TheLauncherSessionAPI is the main entry point for client code that wishes to repeatedly discover and execute tests using one or more test engines.LauncherSessionListener Register an implementation of this interface to be notified when aLauncherSessionis opened and closed.MethodFilter PostDiscoveryFilterthat is applied to the fully qualifiedMethodname without parameters.PostDiscoveryFilter APostDiscoveryFilteris applied toTestDescriptorsafter test discovery.TestExecutionListener Register a concrete implementation of this interface with aLauncherto be notified of events that occur during test execution.TestPlan.Visitor Visitor forTestIdentifiersin aTestPlan. -
Class Summary Class Description AbstractMethodFilter AbstractMethodFilterthat servers as a superclass for filters including or excluding fully qualified method names without parameters based on pattern-matching.EngineDiscoveryResult EngineDiscoveryResultencapsulates the result of test discovery by aTestEngine.EngineFilter AnEngineFilteris applied to allTestEnginesbefore they are used.ExcludeMethodFilter MethodFilterthat matches fully qualified method names against patterns in the form of regular expressions.IncludeMethodFilter MethodFilterthat matches fully qualified method names against patterns in the form of regular expressions.LauncherConstants Collection of constants related toLauncher.TagFilter Factory methods for creatingPostDiscoveryFiltersbased on included and excluded tags or tag expressions.TestIdentifier Immutable data transfer object that represents a test or container which is usually part of aTestPlan.TestIdentifier.SerializedForm Represents the serialized output ofTestIdentifier.TestPlan TestPlandescribes the tree of tests and containers as discovered by aLauncher. -
Enum Summary Enum Description EngineDiscoveryResult.Status Status of test discovery by aTestEngine.EngineFilter.Type