public interface RunListener
Modifier and Type | Method and Description |
---|---|
void |
testAssumptionFailure(ReportEntry report)
Event fired when a test assumption failure was encountered.
|
void |
testError(ReportEntry report)
Event fired when a test ended with an error (non anticipated problem)
|
void |
testExecutionSkippedByUser()
Event fired skipping an execution of remaining test-set in other fork(s); or does nothing if no forks.
|
void |
testFailed(ReportEntry report)
Event fired when a test ended with a failure (anticipated problem)
|
void |
testSetCompleted(TestSetReportEntry report)
Indicates end of a given test-set
|
void |
testSetStarting(TestSetReportEntry report)
Indicates the start of a given test-set
|
void |
testSkipped(ReportEntry report)
Event fired when a test is skipped
|
void |
testStarting(ReportEntry report)
Event fired when a test is about to start
|
void |
testSucceeded(ReportEntry report)
Event fired when a test ended successfully
|
void testSetStarting(TestSetReportEntry report)
report
- the report entry describing the testsetReporterException
- When reporting failsvoid testSetCompleted(TestSetReportEntry report)
report
- the report entry describing the testsetReporterException
- When reporting failsvoid testStarting(ReportEntry report)
report
- The report entry to log forvoid testSucceeded(ReportEntry report)
report
- The report entry to log forvoid testAssumptionFailure(ReportEntry report)
report
- The report entry to log forvoid testError(ReportEntry report)
report
- The report entry to log forvoid testFailed(ReportEntry report)
report
- The report entry to log forvoid testSkipped(ReportEntry report)
report
- The report entry to log forvoid testExecutionSkippedByUser()
SurefireProvider
.(The event is fired after the Nth test failed to signal skipping the rest of test-set.)
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.