Class TestRun
java.lang.Object
ch.admin.bit.jeap.testorchestrator.domain.TestRun
A TestRun is a single Test Execution and has a report
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidAdd's a TestLog to a TestRunprotected booleanvoidendTestRun(TestState testState) Ends a TestRun .booleangetId()@NonNull ZonedDateTimeReturn id as String.@NonNull TestStateinthashCode()voidsetEndedAt(ZonedDateTime endedAt) voidsetParameters(Map<String, String> parameters) voidsetTestLogs(List<TestLog> testLogs) voidsetTestReport(TestReport testReport) voidsetTestState(@NonNull TestState testState)
-
Constructor Details
-
TestRun
Constructor for a TestRun.- Parameters:
environment- can be null. Otherwise has to exists in as Zepyhr-Environment in the Jira-Project
-
TestRun
protected TestRun()
-
-
Method Details
-
getTestId
Return id as String. In the context of the Orchestrator the Id of a TestRun is called as testId- Returns:
- testId as String.
-
add
Add's a TestLog to a TestRun- Parameters:
testLog- as TestLog-Entity
-
endTestRun
Ends a TestRun . Sets endDate and endState- Parameters:
testState- ABORTED or ENDED. With STARTED nothing happens
-
equals
-
canEqual
-
hashCode
public int hashCode() -
getId
-
getTestState
-
getStartedAt
-
getEndedAt
-
getEnvironment
-
getTestCase
-
getParameters
-
getTestLogs
-
getTestReport
-
setTestState
-
setEndedAt
-
setParameters
-
setTestLogs
-
setTestReport
-