T
- usually TestOutputReportEntry
or OutputReportEntry
public interface TestReportListener<T extends OutputReportEntry> extends RunListener, TestOutputReceiver<T>, ConsoleLogger
TestReportListener
:
1. publisher - surefire fork JVM:Both implementations ofForkingRunListener
registered inSurefireProvider
2. consumer - plugin JVM:TestSetRunListener
registered in theForkClient
TestReportListener
, i.e.
ForkingRunListener
and TestSetRunListener
are decorators. They are used as delegators in interface adapters, see the implementations of
JUnit's RunListener RunListener-s
.
TestReportListener
ensures that the ReportEntries are transferred
from the fork to the plugin.
testAssumptionFailure, testError, testExecutionSkippedByUser, testFailed, testSetCompleted, testSetStarting, testSkipped, testStarting, testSucceeded
writeTestOutput
debug, error, error, error, info, isDebugEnabled, isErrorEnabled, isInfoEnabled, isWarnEnabled, warning
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.