Uses of Class
org.junit.platform.launcher.TestPlan
Packages that use TestPlan
Package
Description
Internal execution tasks for JUnit's console launcher.
Public API for configuring and launching test plans.
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder
.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.
Runner
and annotations for configuring and executing tests on the
JUnit Platform in a JUnit 4 environment.-
Uses of TestPlan in org.junit.platform.console.tasks
Fields in org.junit.platform.console.tasks declared as TestPlanMethods in org.junit.platform.console.tasks with parameters of type TestPlanModifier and TypeMethodDescriptionvoid
void
void
void
void
private static void
ConsoleTestExecutor.printFoundTestsSummary
(PrintWriter out, TestPlan testPlan) private void
VerboseTreePrintingListener.printNumberOfTests
(TestPlan testPlan, String prefix) void
FlatPrintingListener.testPlanExecutionFinished
(TestPlan testPlan) void
TestFeedPrintingListener.testPlanExecutionFinished
(TestPlan testPlan) void
TreePrintingListener.testPlanExecutionFinished
(TestPlan testPlan) void
VerboseTreePrintingListener.testPlanExecutionFinished
(TestPlan testPlan) void
FlatPrintingListener.testPlanExecutionStarted
(TestPlan testPlan) void
TestFeedPrintingListener.testPlanExecutionStarted
(TestPlan testPlan) void
TreePrintingListener.testPlanExecutionStarted
(TestPlan testPlan) void
VerboseTreePrintingListener.testPlanExecutionStarted
(TestPlan testPlan) -
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) 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.core
Subclasses of TestPlan in org.junit.platform.launcher.coreFields in org.junit.platform.launcher.core declared as TestPlanModifier and TypeFieldDescriptionprivate final TestPlan
InternalTestPlan.delegate
private final TestPlan
ExecutionListenerAdapter.testPlan
Methods in org.junit.platform.launcher.core that return TestPlanModifier and TypeMethodDescriptionDefaultLauncher.discover
(LauncherDiscoveryRequest discoveryRequest) DefaultLauncherSession.ClosedLauncher.discover
(LauncherDiscoveryRequest launcherDiscoveryRequest) DelegatingLauncher.discover
(LauncherDiscoveryRequest launcherDiscoveryRequest) InterceptingLauncher.discover
(LauncherDiscoveryRequest launcherDiscoveryRequest) SessionPerRequestLauncher.discover
(LauncherDiscoveryRequest launcherDiscoveryRequest) InternalTestPlan.getDelegate()
Methods in org.junit.platform.launcher.core with parameters of type TestPlanModifier and TypeMethodDescriptionprivate static EngineExecutionListener
EngineExecutionOrchestrator.buildEngineExecutionListener
(EngineExecutionListener parentEngineExecutionListener, TestExecutionListener testExecutionListener, TestPlan testPlan) private void
EngineExecutionOrchestrator.dryRun
(TestPlan testPlan, TestExecutionListener listener) void
DefaultLauncher.execute
(TestPlan testPlan, TestExecutionListener... listeners) void
DefaultLauncherSession.ClosedLauncher.execute
(TestPlan testPlan, TestExecutionListener... listeners) void
DelegatingLauncher.execute
(TestPlan testPlan, TestExecutionListener... listeners) void
InterceptingLauncher.execute
(TestPlan testPlan, TestExecutionListener... listeners) void
SessionPerRequestLauncher.execute
(TestPlan testPlan, TestExecutionListener... listeners) void
CompositeTestExecutionListener.testPlanExecutionFinished
(TestPlan testPlan) void
CompositeTestExecutionListener.testPlanExecutionStarted
(TestPlan testPlan) Constructors in org.junit.platform.launcher.core with parameters of type TestPlanModifierConstructorDescription(package private)
ExecutionListenerAdapter
(TestPlan testPlan, TestExecutionListener testExecutionListener) private
InternalTestPlan
(LauncherDiscoveryResult discoveryResult, TestPlan delegate) -
Uses of TestPlan in org.junit.platform.launcher.listeners
Fields in org.junit.platform.launcher.listeners declared as TestPlanModifier and TypeFieldDescriptionprivate final TestPlan
MutableTestExecutionSummary.testPlan
private TestPlan
SummaryGeneratingListener.testPlan
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
.private static TestIdentifier
LegacyReportingUtils.getParent
(TestPlan testPlan, TestIdentifier testIdentifier) Deprecated.private static String
LegacyReportingUtils.getParentLegacyReportingName
(TestPlan testPlan, TestIdentifier testIdentifier) Deprecated.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) Constructors in org.junit.platform.launcher.listeners with parameters of type 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
Fields in org.junit.platform.reporting.legacy.xml declared as TestPlanMethods in org.junit.platform.reporting.legacy.xml that return TestPlanMethods in org.junit.platform.reporting.legacy.xml with parameters of type TestPlanModifier and TypeMethodDescriptionprivate boolean
XmlReportWriter.shouldInclude
(TestPlan testPlan, TestIdentifier testIdentifier) void
LegacyXmlReportGeneratingListener.testPlanExecutionFinished
(TestPlan testPlan) void
LegacyXmlReportGeneratingListener.testPlanExecutionStarted
(TestPlan testPlan) Constructors in org.junit.platform.reporting.legacy.xml with parameters of type 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) -
Uses of TestPlan in org.junit.platform.runner
Fields in org.junit.platform.runner declared as TestPlanMethods in org.junit.platform.runner that return TestPlanMethods in org.junit.platform.runner with parameters of type TestPlanModifier and TypeMethodDescriptionprivate void
JUnitPlatformTestTree.buildDescription
(TestIdentifier identifier, org.junit.runner.Description parent, TestPlan testPlan) private void
JUnitPlatformTestTree.buildDescriptionTree
(org.junit.runner.Description suiteDescription, TestPlan testPlan) private org.junit.runner.Description
JUnitPlatformTestTree.createJUnit4Description
(TestIdentifier identifier, TestPlan testPlan) private org.junit.runner.Description
JUnitPlatformTestTree.generateSuiteDescription
(TestPlan testPlan, Class<?> testClass) Constructors in org.junit.platform.runner with parameters of type TestPlanModifierConstructorDescription(package private)
JUnitPlatformTestTree
(TestPlan testPlan, Class<?> testClass)