Uses of Class
org.junit.platform.launcher.TestPlan
Packages that use TestPlan
Package
Description
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.
Runner and annotations for configuring and executing tests on the
JUnit Platform in a JUnit 4 environment.-
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(Collection<TestDescriptor> engineDescriptors) 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.core
Subclasses of TestPlan in org.junit.platform.launcher.coreFields in org.junit.platform.launcher.core declared as TestPlanMethods in org.junit.platform.launcher.core that return TestPlanModifier and TypeMethodDescriptionDefaultLauncher.discover(LauncherDiscoveryRequest discoveryRequest) Methods in org.junit.platform.launcher.core with parameters of type TestPlanModifier and TypeMethodDescriptionvoidDefaultLauncher.execute(TestPlan testPlan, TestExecutionListener... listeners) voidTestExecutionListenerRegistry.CompositeTestExecutionListener.testPlanExecutionFinished(TestPlan testPlan) voidTestExecutionListenerRegistry.CompositeTestExecutionListener.testPlanExecutionStarted(TestPlan testPlan) Constructors in org.junit.platform.launcher.core with parameters of type TestPlanModifierConstructorDescriptionprivateInternalTestPlan(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 TestPlanMutableTestExecutionSummary.testPlanprivate TestPlanSummaryGeneratingListener.testPlanMethods 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.private static TestIdentifierLegacyReportingUtils.getParent(TestPlan testPlan, TestIdentifier testIdentifier) Deprecated.private static StringLegacyReportingUtils.getParentLegacyReportingName(TestPlan testPlan, TestIdentifier testIdentifier) Deprecated.voidLoggingListener.testPlanExecutionFinished(TestPlan testPlan) voidSummaryGeneratingListener.testPlanExecutionFinished(TestPlan testPlan) voidLoggingListener.testPlanExecutionStarted(TestPlan testPlan) voidSummaryGeneratingListener.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 StringLegacyReportingUtils.getClassName(TestPlan testPlan, TestIdentifier testIdentifier) Get the class name for the suppliedTestIdentifierusing 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 booleanXmlReportWriter.shouldInclude(TestPlan testPlan, TestIdentifier testIdentifier) voidLegacyXmlReportGeneratingListener.testPlanExecutionFinished(TestPlan testPlan) voidLegacyXmlReportGeneratingListener.testPlanExecutionStarted(TestPlan testPlan) Constructors in org.junit.platform.reporting.legacy.xml with parameters of type 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 voidJUnitPlatformTestTree.buildDescription(TestIdentifier identifier, org.junit.runner.Description parent, TestPlan testPlan) private voidJUnitPlatformTestTree.buildDescriptionTree(org.junit.runner.Description suiteDescription, TestPlan testPlan) private org.junit.runner.DescriptionJUnitPlatformTestTree.createJUnit4Description(TestIdentifier identifier, TestPlan testPlan) private org.junit.runner.DescriptionJUnitPlatformTestTree.generateSuiteDescription(TestPlan testPlan, Class<?> testClass) Constructors in org.junit.platform.runner with parameters of type TestPlanModifierConstructorDescription(package private)JUnitPlatformTestTree(TestPlan testPlan, Class<?> testClass)