@API(value=Experimental) public interface TestExecutionSummary
SummaryGeneratingListener| Modifier and Type | Interface and Description |
|---|---|
static interface |
TestExecutionSummary.Failure
Failure of a test or container.
|
| Modifier and Type | Method and Description |
|---|---|
long |
getContainersAbortedCount()
Get the number of containers aborted.
|
long |
getContainersFailedCount()
Get the number of containers that failed.
|
long |
getContainersFoundCount()
Get the number of containers found.
|
long |
getContainersSkippedCount()
Get the number of containers skipped.
|
long |
getContainersStartedCount()
Get the number of containers started.
|
long |
getContainersSucceededCount()
Get the number of containers that succeeded.
|
List<TestExecutionSummary.Failure> |
getFailures()
Get a list of the failures of the test plan execution.
|
long |
getTestsAbortedCount()
Get the number of tests aborted.
|
long |
getTestsFailedCount()
Get the number of tests that failed.
|
long |
getTestsFoundCount()
Get the number of tests found.
|
long |
getTestsSkippedCount()
Get the number of tests skipped.
|
long |
getTestsStartedCount()
Get the number of tests started.
|
long |
getTestsSucceededCount()
Get the number of tests that succeeded.
|
long |
getTimeFinished()
Get the timestamp (in milliseconds) when the test plan finished.
|
long |
getTimeStarted()
Get the timestamp (in milliseconds) when the test plan started.
|
long |
getTotalFailureCount()
Get the total number of failed
containers and failed tests.
|
void |
printFailuresTo(PrintWriter writer)
Print failed containers and tests, including sources and exception
messages, to the supplied
PrintWriter. |
void |
printTo(PrintWriter writer)
Print this summary to the supplied
PrintWriter. |
long getTimeStarted()
long getTimeFinished()
long getTotalFailureCount()
getTestsFailedCount(),
getContainersFailedCount()long getContainersFoundCount()
long getContainersStartedCount()
long getContainersSkippedCount()
long getContainersAbortedCount()
long getContainersSucceededCount()
long getContainersFailedCount()
getTestsFailedCount(),
getTotalFailureCount()long getTestsFoundCount()
long getTestsStartedCount()
long getTestsSkippedCount()
long getTestsAbortedCount()
long getTestsSucceededCount()
long getTestsFailedCount()
getContainersFailedCount(),
getTotalFailureCount()void printTo(PrintWriter writer)
PrintWriter.
This method does not print failure messages.
printFailuresTo(PrintWriter)void printFailuresTo(PrintWriter writer)
PrintWriter.printTo(PrintWriter)List<TestExecutionSummary.Failure> getFailures()