Uses of Interface
org.junit.platform.launcher.TestExecutionListener
Packages that use TestExecutionListener
Package
Description
Output printing utility classes of 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 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 TestExecutionListener in org.junit.platform.console.output
Subinterfaces of TestExecutionListener in org.junit.platform.console.outputClasses in org.junit.platform.console.output that implement TestExecutionListenerModifier and TypeClassDescriptionclassclassclassclass -
Uses of TestExecutionListener in org.junit.platform.launcher
Methods in org.junit.platform.launcher that return types with arguments of type TestExecutionListenerModifier and TypeMethodDescriptionCollection<? extends TestExecutionListener> LauncherExecutionRequest.getAdditionalTestExecutionListeners()Returns the collection of additional test execution listeners that should be notified about events pertaining to this execution request.Methods in org.junit.platform.launcher with parameters of type TestExecutionListenerModifier and TypeMethodDescriptionvoidLauncher.execute(LauncherDiscoveryRequest discoveryRequest, TestExecutionListener... listeners) Execute aTestPlanwhich is built according to the suppliedLauncherDiscoveryRequestby querying all registered engines and collecting their results, and notify registered listeners about the progress and results of the execution.voidLauncher.execute(TestPlan testPlan, TestExecutionListener... listeners) Execute the suppliedTestPlanand notify registered listeners about the progress and results of the execution.voidLauncher.registerTestExecutionListeners(TestExecutionListener... listeners) Register one or more listeners for test execution. -
Uses of TestExecutionListener in org.junit.platform.launcher.core
Methods in org.junit.platform.launcher.core that return types with arguments of type TestExecutionListenerModifier and TypeMethodDescriptionLauncherConfig.getAdditionalTestExecutionListeners()Get the collection of additional test execution listeners that should be added to theLauncher.Methods in org.junit.platform.launcher.core with parameters of type TestExecutionListenerModifier and TypeMethodDescriptionLauncherConfig.Builder.addTestExecutionListeners(TestExecutionListener... listeners) Add all of the supplied test execution listeners to the configuration.voidEngineExecutionOrchestrator.execute(LauncherDiscoveryResult discoveryResult, EngineExecutionListener engineExecutionListener, TestExecutionListener testExecutionListener, NamespacedHierarchicalStore<Namespace> requestLevelStore, CancellationToken cancellationToken) Executes tests for the supplied discoveryResult and notifies the supplied engineExecutionListener and testExecutionListener of execution events.LauncherExecutionRequestBuilder.listeners(TestExecutionListener... listeners) Add all supplied execution listeners to the request. -
Uses of TestExecutionListener in org.junit.platform.launcher.listeners
Classes in org.junit.platform.launcher.listeners that implement TestExecutionListenerModifier and TypeClassDescriptionclassSimpleTestExecutionListenerfor logging informational messages for all events via aBiConsumerthat consumesThrowableandSupplier<String>.classSimpleTestExecutionListenerthat generates a summary of the test execution.classUniqueIdTrackingListeneris aTestExecutionListenerthat tracks the unique IDs of all tests that were executed during the execution of theTestPlanand generates a file containing the unique IDs once execution of theTestPlanhas finished. -
Uses of TestExecutionListener in org.junit.platform.reporting.legacy.xml
Classes in org.junit.platform.reporting.legacy.xml that implement TestExecutionListenerModifier and TypeClassDescriptionclassLegacyXmlReportGeneratingListeneris aTestExecutionListenerthat generates a separate XML report for each root in theTestPlan. -
Uses of TestExecutionListener in org.junit.platform.reporting.open.xml
Classes in org.junit.platform.reporting.open.xml that implement TestExecutionListenerModifier and TypeClassDescriptionclassOpen Test Reporting events XML generating test execution listener.