Uses of Interface
org.junit.platform.launcher.TestExecutionListener
Packages that use TestExecutionListener
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 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 TestExecutionListener in org.junit.platform.launcher
Methods in org.junit.platform.launcher with parameters of type TestExecutionListenerModifier and TypeMethodDescriptionvoidLauncher.execute(LauncherDiscoveryRequest launcherDiscoveryRequest, 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
Subinterfaces of TestExecutionListener in org.junit.platform.launcher.coreModifier and TypeInterfaceDescription(package private) static interfaceClasses in org.junit.platform.launcher.core that implement TestExecutionListenerModifier and TypeClassDescription(package private) class(package private) classFields in org.junit.platform.launcher.core declared as TestExecutionListenerModifier and TypeFieldDescriptionprivate final TestExecutionListenerExecutionListenerAdapter.testExecutionListenerFields in org.junit.platform.launcher.core with type parameters of type TestExecutionListenerModifier and TypeFieldDescriptionprivate final Collection<TestExecutionListener>DefaultLauncherConfig.additionalTestExecutionListenersprivate final Collection<TestExecutionListener>LauncherConfig.Builder.executionListenersprivate final ListenerRegistry<TestExecutionListener>EngineExecutionOrchestrator.listenerRegistryprivate final ListenerRegistry<TestExecutionListener>DefaultLauncher.testExecutionListenerRegistryprivate final List<TestExecutionListener>CompositeTestExecutionListener.testExecutionListenersMethods in org.junit.platform.launcher.core with type parameters of type TestExecutionListenerModifier and TypeMethodDescriptionprivate static <T extends TestExecutionListener>
voidCompositeTestExecutionListener.notifyEach(List<T> listeners, 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.DefaultLauncher.getTestExecutionListenerRegistry()InternalLauncher.getTestExecutionListenerRegistry()SessionPerRequestLauncher.getTestExecutionListenerRegistry()private static Stream<TestExecutionListener>LauncherFactory.loadAndFilterTestExecutionListeners()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 ListenerRegistry<TestExecutionListener>EngineExecutionOrchestrator.buildListenerRegistryForExecution(TestExecutionListener... listeners) private voidDefaultLauncher.execute(InternalTestPlan internalTestPlan, TestExecutionListener[] listeners) voidDefaultLauncher.execute(LauncherDiscoveryRequest discoveryRequest, TestExecutionListener... listeners) voidDefaultLauncher.execute(TestPlan testPlan, TestExecutionListener... listeners) voidDefaultLauncherSession.ClosedLauncher.execute(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners) voidDefaultLauncherSession.ClosedLauncher.execute(TestPlan testPlan, TestExecutionListener... listeners) voidDefaultLauncherSession.DelegatingLauncher.execute(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners) voidDefaultLauncherSession.DelegatingLauncher.execute(TestPlan testPlan, TestExecutionListener... listeners) (package private) voidEngineExecutionOrchestrator.execute(InternalTestPlan internalTestPlan, TestExecutionListener... listeners) voidSessionPerRequestLauncher.execute(LauncherDiscoveryRequest launcherDiscoveryRequest, TestExecutionListener... listeners) voidSessionPerRequestLauncher.execute(TestPlan testPlan, TestExecutionListener... listeners) voidDefaultLauncher.registerTestExecutionListeners(TestExecutionListener... listeners) voidDefaultLauncherSession.ClosedLauncher.registerTestExecutionListeners(TestExecutionListener... listeners) voidDefaultLauncherSession.DelegatingLauncher.registerTestExecutionListeners(TestExecutionListener... listeners) voidSessionPerRequestLauncher.registerTestExecutionListeners(TestExecutionListener... listeners) Method parameters in org.junit.platform.launcher.core with type arguments of type TestExecutionListenerModifier and TypeMethodDescriptionprivate voidEngineExecutionOrchestrator.withInterceptedStreams(ConfigurationParameters configurationParameters, ListenerRegistry<TestExecutionListener> listenerRegistry, Consumer<TestExecutionListener> action) private voidEngineExecutionOrchestrator.withInterceptedStreams(ConfigurationParameters configurationParameters, ListenerRegistry<TestExecutionListener> listenerRegistry, Consumer<TestExecutionListener> action) Constructors in org.junit.platform.launcher.core with parameters of type TestExecutionListenerModifierConstructorDescription(package private)ExecutionListenerAdapter(InternalTestPlan 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 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.runner
Classes in org.junit.platform.runner that implement TestExecutionListener