Uses of Class
org.junit.platform.launcher.TestPlan
Packages that use TestPlan
Package
Description
Public API for configuring and launching test plans.
Common
TestExecutionListener implementations and related support classes for
the Launcher.-
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 aTestPlanaccording to the suppliedLauncherDiscoveryRequestby querying all registered engines and collecting their results.static TestPlanTestPlan.from(boolean containsTests, Collection<org.junit.platform.engine.TestDescriptor> engineDescriptors, org.junit.platform.engine.ConfigurationParameters configurationParameters, org.junit.platform.engine.reporting.OutputDirectoryProvider outputDirectoryProvider) Construct a newTestPlanfrom the supplied collection ofTestDescriptors.Methods in org.junit.platform.launcher with parameters of type TestPlanModifier and TypeMethodDescriptionvoidLauncher.execute(TestPlan testPlan, TestExecutionListener... listeners) Execute the suppliedTestPlanand notify registered listeners about the progress and results of the execution.default voidTestExecutionListener.testPlanExecutionFinished(TestPlan testPlan) Called when the execution of theTestPlanhas finished, after all tests have been executed.default voidTestExecutionListener.testPlanExecutionStarted(TestPlan testPlan) Called when the execution of theTestPlanhas 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 StringLegacyReportingUtils.getClassName(TestPlan testPlan, TestIdentifier testIdentifier) Deprecated.Get the class name for the suppliedTestIdentifierusing the suppliedTestPlan.voidLoggingListener.testPlanExecutionFinished(TestPlan testPlan) voidSummaryGeneratingListener.testPlanExecutionFinished(TestPlan testPlan) voidUniqueIdTrackingListener.testPlanExecutionFinished(TestPlan testPlan) voidLoggingListener.testPlanExecutionStarted(TestPlan testPlan) voidSummaryGeneratingListener.testPlanExecutionStarted(TestPlan testPlan) voidUniqueIdTrackingListener.testPlanExecutionStarted(TestPlan testPlan)