public static interface TestCaseRun.Builder extends SdkPojo, CopyableBuilder<TestCaseRun.Builder,TestCaseRun>
| Modifier and Type | Method and Description |
|---|---|
TestCaseRun.Builder |
endTime(Instant endTime)
Provides test case run end time.
|
TestCaseRun.Builder |
failure(String failure)
Provides test case run failure result.
|
TestCaseRun.Builder |
logUrl(String logUrl)
Provides test case run log URL.
|
TestCaseRun.Builder |
startTime(Instant startTime)
Provides test case run start time.
|
TestCaseRun.Builder |
status(Status status)
Provides the test case run status.
|
TestCaseRun.Builder |
status(String status)
Provides the test case run status.
|
TestCaseRun.Builder |
testCaseDefinitionId(String testCaseDefinitionId)
Provides the test case run definition ID.
|
TestCaseRun.Builder |
testCaseDefinitionName(String testCaseDefinitionName)
Provides the test case run definition name.
|
TestCaseRun.Builder |
testCaseRunId(String testCaseRunId)
Provides the test case run ID.
|
TestCaseRun.Builder |
testScenarios(Collection<TestCaseScenario> testScenarios)
Provides the test scenarios for the test case run.
|
TestCaseRun.Builder |
testScenarios(Consumer<TestCaseScenario.Builder>... testScenarios)
Provides the test scenarios for the test case run.
|
TestCaseRun.Builder |
testScenarios(TestCaseScenario... testScenarios)
Provides the test scenarios for the test case run.
|
TestCaseRun.Builder |
warnings(String warnings)
Provides test case run warnings.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildTestCaseRun.Builder testCaseRunId(String testCaseRunId)
Provides the test case run ID.
testCaseRunId - Provides the test case run ID.TestCaseRun.Builder testCaseDefinitionId(String testCaseDefinitionId)
Provides the test case run definition ID.
testCaseDefinitionId - Provides the test case run definition ID.TestCaseRun.Builder testCaseDefinitionName(String testCaseDefinitionName)
Provides the test case run definition name.
testCaseDefinitionName - Provides the test case run definition name.TestCaseRun.Builder status(String status)
Provides the test case run status. Status is one of the following:
PASS: Test passed.
FAIL: Test failed.
PENDING: Test has not started running but is scheduled.
RUNNING: Test is running.
STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite
run.
STOPPED Test is stopped. You will see this status only if you stop a suite run.
PASS_WITH_WARNINGS: Test passed with warnings.
ERORR: Test faced an error when running due to an internal issue.
status - Provides the test case run status. Status is one of the following:
PASS: Test passed.
FAIL: Test failed.
PENDING: Test has not started running but is scheduled.
RUNNING: Test is running.
STOPPING: Test is performing cleanup steps. You will see this status only if you stop a
suite run.
STOPPED Test is stopped. You will see this status only if you stop a suite run.
PASS_WITH_WARNINGS: Test passed with warnings.
ERORR: Test faced an error when running due to an internal issue.
Status,
StatusTestCaseRun.Builder status(Status status)
Provides the test case run status. Status is one of the following:
PASS: Test passed.
FAIL: Test failed.
PENDING: Test has not started running but is scheduled.
RUNNING: Test is running.
STOPPING: Test is performing cleanup steps. You will see this status only if you stop a suite
run.
STOPPED Test is stopped. You will see this status only if you stop a suite run.
PASS_WITH_WARNINGS: Test passed with warnings.
ERORR: Test faced an error when running due to an internal issue.
status - Provides the test case run status. Status is one of the following:
PASS: Test passed.
FAIL: Test failed.
PENDING: Test has not started running but is scheduled.
RUNNING: Test is running.
STOPPING: Test is performing cleanup steps. You will see this status only if you stop a
suite run.
STOPPED Test is stopped. You will see this status only if you stop a suite run.
PASS_WITH_WARNINGS: Test passed with warnings.
ERORR: Test faced an error when running due to an internal issue.
Status,
StatusTestCaseRun.Builder startTime(Instant startTime)
Provides test case run start time.
startTime - Provides test case run start time.TestCaseRun.Builder endTime(Instant endTime)
Provides test case run end time.
endTime - Provides test case run end time.TestCaseRun.Builder logUrl(String logUrl)
Provides test case run log URL.
logUrl - Provides test case run log URL.TestCaseRun.Builder warnings(String warnings)
Provides test case run warnings.
warnings - Provides test case run warnings.TestCaseRun.Builder failure(String failure)
Provides test case run failure result.
failure - Provides test case run failure result.TestCaseRun.Builder testScenarios(Collection<TestCaseScenario> testScenarios)
Provides the test scenarios for the test case run.
testScenarios - Provides the test scenarios for the test case run.TestCaseRun.Builder testScenarios(TestCaseScenario... testScenarios)
Provides the test scenarios for the test case run.
testScenarios - Provides the test scenarios for the test case run.TestCaseRun.Builder testScenarios(Consumer<TestCaseScenario.Builder>... testScenarios)
Provides the test scenarios for the test case run.
This is a convenience method that creates an instance of theTestCaseScenario.Builder avoiding the need to
create one manually via
TestCaseScenario.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #testScenarios(List.
testScenarios - a consumer that will call methods on
TestCaseScenario.Builder#testScenarios(java.util.Collection) Copyright © 2023. All rights reserved.