Uses of Class
org.junit.platform.launcher.TestPlan
Packages that use TestPlan
Package
Description
Java Flight Recorder support package.
Public API for configuring and launching test plans.
Common
TestExecutionListener
implementations and related support classes for
the Launcher
.Support for legacy reporting formats.
Support for generating XML reports using a format which is compatible with
the de facto standard for JUnit 4 based test reports that was made popular
by the Ant build system.
Support for generating Open Test Reporting compatible XML event reports.
-
Uses of TestPlan in org.junit.platform.jfr
Methods in org.junit.platform.jfr with parameters of type TestPlanModifier and TypeMethodDescriptionvoid
FlightRecordingExecutionListener.testPlanExecutionFinished
(TestPlan plan) void
FlightRecordingExecutionListener.testPlanExecutionStarted
(TestPlan plan) -
Uses of TestPlan in org.junit.platform.launcher
Methods in org.junit.platform.launcher that return TestPlanModifier and TypeMethodDescriptionLauncher.discover
(LauncherDiscoveryRequest launcherDiscoveryRequest) Discover tests and build aTestPlan
according to the suppliedLauncherDiscoveryRequest
by querying all registered engines and collecting their results.static TestPlan
TestPlan.from
(Collection<TestDescriptor> engineDescriptors, ConfigurationParameters configurationParameters, OutputDirectoryProvider outputDirectoryProvider) Construct a newTestPlan
from the supplied collection ofTestDescriptors
.Methods in org.junit.platform.launcher with parameters of type TestPlanModifier and TypeMethodDescriptionvoid
Launcher.execute
(TestPlan testPlan, TestExecutionListener... listeners) Execute the suppliedTestPlan
and notify registered listeners about the progress and results of the execution.default void
TestExecutionListener.testPlanExecutionFinished
(TestPlan testPlan) Called when the execution of theTestPlan
has finished, after all tests have been executed.default void
TestExecutionListener.testPlanExecutionStarted
(TestPlan testPlan) Called when the execution of theTestPlan
has started, before any test has been executed. -
Uses of TestPlan in org.junit.platform.launcher.listeners
Methods in org.junit.platform.launcher.listeners with parameters of type TestPlanModifier and TypeMethodDescriptionstatic String
LegacyReportingUtils.getClassName
(TestPlan testPlan, TestIdentifier testIdentifier) Deprecated.Get the class name for the suppliedTestIdentifier
using the suppliedTestPlan
.void
LoggingListener.testPlanExecutionFinished
(TestPlan testPlan) void
SummaryGeneratingListener.testPlanExecutionFinished
(TestPlan testPlan) void
UniqueIdTrackingListener.testPlanExecutionFinished
(TestPlan testPlan) void
LoggingListener.testPlanExecutionStarted
(TestPlan testPlan) void
SummaryGeneratingListener.testPlanExecutionStarted
(TestPlan testPlan) void
UniqueIdTrackingListener.testPlanExecutionStarted
(TestPlan testPlan) -
Uses of TestPlan in org.junit.platform.reporting.legacy
Methods in org.junit.platform.reporting.legacy with parameters of type TestPlanModifier and TypeMethodDescriptionstatic String
LegacyReportingUtils.getClassName
(TestPlan testPlan, TestIdentifier testIdentifier) Get the class name for the suppliedTestIdentifier
using the suppliedTestPlan
. -
Uses of TestPlan in org.junit.platform.reporting.legacy.xml
Methods in org.junit.platform.reporting.legacy.xml with parameters of type TestPlanModifier and TypeMethodDescriptionvoid
LegacyXmlReportGeneratingListener.testPlanExecutionFinished
(TestPlan testPlan) void
LegacyXmlReportGeneratingListener.testPlanExecutionStarted
(TestPlan testPlan) -
Uses of TestPlan in org.junit.platform.reporting.open.xml
Methods in org.junit.platform.reporting.open.xml with parameters of type TestPlanModifier and TypeMethodDescriptionvoid
OpenTestReportGeneratingListener.testPlanExecutionFinished
(TestPlan testPlan) void
OpenTestReportGeneratingListener.testPlanExecutionStarted
(TestPlan testPlan)