Uses of Interface
org.junit.platform.launcher.TestExecutionListener
Packages that use TestExecutionListener
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 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 TestExecutionListener in org.junit.platform.console.tasks
Subinterfaces of TestExecutionListener in org.junit.platform.console.tasksClasses in org.junit.platform.console.tasks that implement TestExecutionListenerModifier and TypeClassDescription(package private) class
(package private) class
(package private) class
(package private) class
Methods in org.junit.platform.console.tasks that return types with arguments of type TestExecutionListenerModifier and TypeMethodDescriptionprivate Optional
<TestExecutionListener> ConsoleTestExecutor.createXmlWritingListener
(PrintWriter out, Optional<Path> reportsDir) -
Uses of TestExecutionListener in org.junit.platform.launcher
Methods in org.junit.platform.launcher with parameters of type TestExecutionListenerModifier and TypeMethodDescriptionvoid
Launcher.execute
(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners) Execute aTestPlan
which is built according to the suppliedLauncherDiscoveryRequest
by querying all registered engines and collecting their results, and notify registered listeners about the progress and results of the execution.void
Launcher.execute
(TestPlan testPlan, TestExecutionListener... listeners) Execute the suppliedTestPlan
and notify registered listeners about the progress and results of the execution.void
Launcher.registerTestExecutionListeners
(TestExecutionListener... listeners) Register one or more listeners for test execution. -
Uses of TestExecutionListener in org.junit.platform.launcher.core
Subinterfaces of TestExecutionListener in org.junit.platform.launcher.coreModifier and TypeInterfaceDescription(package private) static interface
Classes in org.junit.platform.launcher.core that implement TestExecutionListenerModifier and TypeClassDescription(package private) class
(package private) class
Fields in org.junit.platform.launcher.core declared as TestExecutionListenerModifier and TypeFieldDescriptionprivate final TestExecutionListener
ExecutionListenerAdapter.testExecutionListener
Fields in org.junit.platform.launcher.core with type parameters of type TestExecutionListenerModifier and TypeFieldDescriptionprivate final Collection
<TestExecutionListener> DefaultLauncherConfig.additionalTestExecutionListeners
private final Collection
<TestExecutionListener> LauncherConfig.Builder.executionListeners
private final ListenerRegistry
<TestExecutionListener> EngineExecutionOrchestrator.listenerRegistry
private final List
<TestExecutionListener> CompositeTestExecutionListener.testExecutionListeners
(package private) final ListenerRegistry
<TestExecutionListener> LauncherListenerRegistry.testExecutionListeners
Methods in org.junit.platform.launcher.core with type parameters of type TestExecutionListenerModifier and TypeMethodDescriptionprivate static <T extends TestExecutionListener>
voidCompositeTestExecutionListener.notifyEach
(List<T> listeners, IterationOrder iterationOrder, Consumer<T> consumer, Supplier<String> description) Methods in org.junit.platform.launcher.core that return types with arguments of type TestExecutionListenerModifier and TypeMethodDescriptionprivate ListenerRegistry
<TestExecutionListener> EngineExecutionOrchestrator.buildListenerRegistryForExecution
(TestExecutionListener... listeners) (package private) static ListenerRegistry
<TestExecutionListener> ListenerRegistry.forTestExecutionListeners()
DefaultLauncherConfig.getAdditionalTestExecutionListeners()
LauncherConfig.getAdditionalTestExecutionListeners()
Get the collection of additional test execution listeners that should be added to theLauncher
.private static Stream
<TestExecutionListener> LauncherFactory.loadAndFilterTestExecutionListeners
(ConfigurationParameters configurationParameters) 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.private static EngineExecutionListener
EngineExecutionOrchestrator.buildEngineExecutionListener
(EngineExecutionListener parentEngineExecutionListener, TestExecutionListener testExecutionListener, TestPlan testPlan) private ListenerRegistry
<TestExecutionListener> EngineExecutionOrchestrator.buildListenerRegistryForExecution
(TestExecutionListener... listeners) private void
EngineExecutionOrchestrator.dryRun
(TestPlan testPlan, TestExecutionListener listener) private void
DefaultLauncher.execute
(InternalTestPlan internalTestPlan, TestExecutionListener[] listeners) void
DefaultLauncher.execute
(LauncherDiscoveryRequest discoveryRequest, TestExecutionListener... listeners) void
DefaultLauncher.execute
(TestPlan testPlan, TestExecutionListener... listeners) void
DefaultLauncherSession.ClosedLauncher.execute
(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners) void
DefaultLauncherSession.ClosedLauncher.execute
(TestPlan testPlan, TestExecutionListener... listeners) void
DelegatingLauncher.execute
(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners) void
DelegatingLauncher.execute
(TestPlan testPlan, TestExecutionListener... listeners) private void
EngineExecutionOrchestrator.execute
(InternalTestPlan internalTestPlan, EngineExecutionListener parentEngineExecutionListener, TestExecutionListener testExecutionListener) (package private) void
EngineExecutionOrchestrator.execute
(InternalTestPlan internalTestPlan, TestExecutionListener... listeners) void
EngineExecutionOrchestrator.execute
(LauncherDiscoveryResult discoveryResult, EngineExecutionListener engineExecutionListener, TestExecutionListener testExecutionListener) Executes tests for the supplied discoveryResult and notifies the supplied engineExecutionListener and testExecutionListener of execution events.void
InterceptingLauncher.execute
(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners) void
InterceptingLauncher.execute
(TestPlan testPlan, TestExecutionListener... listeners) void
SessionPerRequestLauncher.execute
(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners) void
SessionPerRequestLauncher.execute
(TestPlan testPlan, TestExecutionListener... listeners) void
DefaultLauncher.registerTestExecutionListeners
(TestExecutionListener... listeners) void
DefaultLauncherSession.ClosedLauncher.registerTestExecutionListeners
(TestExecutionListener... listeners) void
DelegatingLauncher.registerTestExecutionListeners
(TestExecutionListener... listeners) void
SessionPerRequestLauncher.registerTestExecutionListeners
(TestExecutionListener... listeners) Method parameters in org.junit.platform.launcher.core with type arguments of type TestExecutionListenerModifier and TypeMethodDescriptionprivate void
EngineExecutionOrchestrator.withInterceptedStreams
(ConfigurationParameters configurationParameters, ListenerRegistry<TestExecutionListener> listenerRegistry, Consumer<TestExecutionListener> action) private void
EngineExecutionOrchestrator.withInterceptedStreams
(ConfigurationParameters configurationParameters, ListenerRegistry<TestExecutionListener> listenerRegistry, Consumer<TestExecutionListener> action) Constructors in org.junit.platform.launcher.core with parameters of type TestExecutionListenerModifierConstructorDescription(package private)
ExecutionListenerAdapter
(TestPlan testPlan, TestExecutionListener testExecutionListener) Constructor parameters in org.junit.platform.launcher.core with type arguments of type TestExecutionListenerModifierConstructorDescription(package private)
CompositeTestExecutionListener
(List<TestExecutionListener> testExecutionListeners) (package private)
EngineExecutionOrchestrator
(ListenerRegistry<TestExecutionListener> listenerRegistry) -
Uses of TestExecutionListener in org.junit.platform.launcher.listeners
Classes in org.junit.platform.launcher.listeners that implement TestExecutionListenerModifier and TypeClassDescriptionclass
SimpleTestExecutionListener
for logging informational messages for all events via aBiConsumer
that consumesThrowable
andSupplier<String>
.class
SimpleTestExecutionListener
that generates a summary of the test execution.class
UniqueIdTrackingListener
is aTestExecutionListener
that tracks the unique IDs of all tests that were executed during the execution of theTestPlan
and generates a file containing the unique IDs once execution of theTestPlan
has finished. -
Uses of TestExecutionListener in org.junit.platform.reporting.legacy.xml
Classes in org.junit.platform.reporting.legacy.xml that implement TestExecutionListenerModifier and TypeClassDescriptionclass
LegacyXmlReportGeneratingListener
is aTestExecutionListener
that 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 TypeClassDescriptionclass
Open Test Reporting events XML generating test execution listener. -
Uses of TestExecutionListener in org.junit.platform.runner
Classes in org.junit.platform.runner that implement TestExecutionListener