public interface TestRun
A Test Run represents a collection of test results that are imported for a Test Specification.
This object contains metadata about the complete run. Via the TestRunsRepository.getEventsForTestRun(TestRun, Map) method
the list of Events that represent the test results can be accessed.
The list of events starts with an Event.TYPE_IMPORT_STARTED event, followed by zero or more events representing test results and is terminated
by a Event.TYPE_IMPORT_FINISHED event.
| Modifier and Type | Method and Description |
|---|---|
int |
getDuration()
Returns the duration of the Test Run in milliseconds.
|
java.lang.String |
getFailureReason()
If the qualification failed, return the reason the qualification failed.
|
java.util.Date |
getFinishedTime()
Returns the time the Test Run finished, or null if the Test Run is still ongoing.
|
java.lang.String |
getId()
Get the ID of the Test Run.
|
boolean |
getQualificationResult()
True if the qualification for this Test Run passed,
false if it did not pass or is not present. |
java.util.Date |
getStartTime() |
java.lang.String |
getTestSpecificationName()
Name of the test specification this run is part of.
|
boolean |
isFinished()
Is this Test Run finished.
|
java.lang.String getId()
java.lang.String getTestSpecificationName()
boolean isFinished()
java.util.Date getStartTime()
java.util.Date getFinishedTime()
nullint getDuration()
boolean getQualificationResult()
false if it did not pass or is not present.java.lang.String getFailureReason()