Uses of Interface
org.junit.platform.launcher.TestExecutionListener
Package | Description |
---|---|
org.junit.platform.jfr |
Java Flight Recorder support package.
|
org.junit.platform.launcher |
Public API for configuring and launching test plans.
|
org.junit.platform.launcher.core |
Core support classes for the
Launcher
including the LauncherFactory
and the LauncherDiscoveryRequestBuilder . |
org.junit.platform.launcher.listeners |
Common
TestExecutionListener implementations and related support classes for
the Launcher . |
org.junit.platform.reporting.legacy.xml |
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.
|
-
Uses of TestExecutionListener in org.junit.platform.jfr
Classes in org.junit.platform.jfr that implement TestExecutionListener Modifier and Type Class Description class
FlightRecordingExecutionListener
ATestExecutionListener
that generates Java Flight Recorder events. -
Uses of TestExecutionListener in org.junit.platform.launcher
Methods in org.junit.platform.launcher with parameters of type TestExecutionListener Modifier and Type Method Description void
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
Methods in org.junit.platform.launcher.core that return types with arguments of type TestExecutionListener Modifier and Type Method Description Collection<TestExecutionListener>
LauncherConfig. 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 TestExecutionListener Modifier and Type Method Description LauncherConfig.Builder
LauncherConfig.Builder. addTestExecutionListeners(TestExecutionListener... listeners)
Add all of the supplied test execution listeners to the configuration. -
Uses of TestExecutionListener in org.junit.platform.launcher.listeners
Classes in org.junit.platform.launcher.listeners that implement TestExecutionListener Modifier and Type Class Description class
LoggingListener
SimpleTestExecutionListener
for logging informational messages for all events via aBiConsumer
that consumesThrowable
andSupplier<String>
.class
SummaryGeneratingListener
SimpleTestExecutionListener
that generates a summary of the test execution. -
Uses of TestExecutionListener in org.junit.platform.reporting.legacy.xml
Classes in org.junit.platform.reporting.legacy.xml that implement TestExecutionListener Modifier and Type Class Description class
LegacyXmlReportGeneratingListener
LegacyXmlReportGeneratingListener
is aTestExecutionListener
that generates a separate XML report for each root in theTestPlan
.