Interface TestExecutionSummary
-
@API(status=MAINTAINED, since="1.0") public interface TestExecutionSummarySummary of test plan execution.- Since:
- 1.0
- See Also:
SummaryGeneratingListener
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceTestExecutionSummary.FailureFailure of a test or container.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetContainersAbortedCount()Get the number of containers aborted.longgetContainersFailedCount()Get the number of containers that failed.longgetContainersFoundCount()Get the number of containers found.longgetContainersSkippedCount()Get the number of containers skipped.longgetContainersStartedCount()Get the number of containers started.longgetContainersSucceededCount()Get the number of containers that succeeded.java.util.List<TestExecutionSummary.Failure>getFailures()Get an immutable list of the failures of the test plan execution.longgetTestsAbortedCount()Get the number of tests aborted.longgetTestsFailedCount()Get the number of tests that failed.longgetTestsFoundCount()Get the number of tests found.longgetTestsSkippedCount()Get the number of tests skipped.longgetTestsStartedCount()Get the number of tests started.longgetTestsSucceededCount()Get the number of tests that succeeded.longgetTimeFinished()Get the timestamp (in milliseconds) when the test plan finished.longgetTimeStarted()Get the timestamp (in milliseconds) when the test plan started.longgetTotalFailureCount()Get the total number of failed containers and failed tests.voidprintFailuresTo(java.io.PrintWriter writer)Print failed containers and tests, including sources and exception messages, to the suppliedPrintWriter.voidprintTo(java.io.PrintWriter writer)Print this summary to the suppliedPrintWriter.
-
-
-
Method Detail
-
getTimeStarted
long getTimeStarted()
Get the timestamp (in milliseconds) when the test plan started.
-
getTimeFinished
long getTimeFinished()
Get the timestamp (in milliseconds) when the test plan finished.
-
getTotalFailureCount
long getTotalFailureCount()
Get the total number of failed containers and failed tests.- See Also:
getTestsFailedCount(),getContainersFailedCount()
-
getContainersFoundCount
long getContainersFoundCount()
Get the number of containers found.
-
getContainersStartedCount
long getContainersStartedCount()
Get the number of containers started.
-
getContainersSkippedCount
long getContainersSkippedCount()
Get the number of containers skipped.
-
getContainersAbortedCount
long getContainersAbortedCount()
Get the number of containers aborted.
-
getContainersSucceededCount
long getContainersSucceededCount()
Get the number of containers that succeeded.
-
getContainersFailedCount
long getContainersFailedCount()
Get the number of containers that failed.- See Also:
getTestsFailedCount(),getTotalFailureCount()
-
getTestsFoundCount
long getTestsFoundCount()
Get the number of tests found.
-
getTestsStartedCount
long getTestsStartedCount()
Get the number of tests started.
-
getTestsSkippedCount
long getTestsSkippedCount()
Get the number of tests skipped.
-
getTestsAbortedCount
long getTestsAbortedCount()
Get the number of tests aborted.
-
getTestsSucceededCount
long getTestsSucceededCount()
Get the number of tests that succeeded.
-
getTestsFailedCount
long getTestsFailedCount()
Get the number of tests that failed.- See Also:
getContainersFailedCount(),getTotalFailureCount()
-
printTo
void printTo(java.io.PrintWriter writer)
Print this summary to the suppliedPrintWriter.This method does not print failure messages.
- See Also:
printFailuresTo(PrintWriter)
-
printFailuresTo
void printFailuresTo(java.io.PrintWriter writer)
Print failed containers and tests, including sources and exception messages, to the suppliedPrintWriter.- See Also:
printTo(PrintWriter)
-
getFailures
java.util.List<TestExecutionSummary.Failure> getFailures()
Get an immutable list of the failures of the test plan execution.
-
-