Skip to content

TestCaseRun

Source code in docs_src/capo_iotdeviceadvisor/types/test_case_run.py
class TestCaseRun(TypedDict, closed=True):
    test_case_run_id: NotRequired["capo_iotdeviceadvisor.types.uuid.UUID"]
    """<p>Provides the test case run ID.</p>"""
    test_case_definition_id: NotRequired["capo_iotdeviceadvisor.types.uuid.UUID"]
    """<p>Provides the test case run definition ID.</p>"""
    test_case_definition_name: NotRequired[
        "capo_iotdeviceadvisor.types.test_case_definition_name.TestCaseDefinitionName"
    ]
    """<p>Provides the test case run definition name.</p>"""
    status: NotRequired["capo_iotdeviceadvisor.types.status.Status"]
    """<p>Provides the test case run status. Status is one of the following:</p> <ul> <li> <p> <code>PASS</code>: Test passed.</p> </li> <li> <p> <code>FAIL</code>: Test failed.</p> </li> <li> <p> <code>PENDING</code>: Test has not started running but is scheduled.</p> </li> <li> <p> <code>RUNNING</code>: Test is running.</p> </li> <li> <p> <code>STOPPING</code>: Test is performing cleanup steps. You will see this status only if you stop a suite run.</p> </li> <li> <p> <code>STOPPED</code> Test is stopped. You will see this status only if you stop a suite run.</p> </li> <li> <p> <code>PASS_WITH_WARNINGS</code>: Test passed with warnings.</p> </li> <li> <p> <code>ERORR</code>: Test faced an error when running due to an internal issue.</p> </li> </ul>"""
    start_time: NotRequired["capo_iotdeviceadvisor.types.timestamp.Timestamp"]
    """<p>Provides test case run start time.</p>"""
    end_time: NotRequired["capo_iotdeviceadvisor.types.timestamp.Timestamp"]
    """<p>Provides test case run end time.</p>"""
    log_url: NotRequired["capo_iotdeviceadvisor.types.log_url.LogUrl"]
    """<p>Provides test case run log URL.</p>"""
    warnings: NotRequired["capo_iotdeviceadvisor.types.warnings.Warnings"]
    """<p>Provides test case run warnings.</p>"""
    failure: NotRequired["capo_iotdeviceadvisor.types.failure.Failure"]
    """<p>Provides test case run failure result.</p>"""
    test_scenarios: NotRequired[
        "capo_iotdeviceadvisor.types.test_case_scenarios_list.TestCaseScenariosList"
    ]
    """<p> Provides the test scenarios for the test case run. </p>"""

end_time instance-attribute

end_time: NotRequired[Timestamp]

Provides test case run end time.

failure instance-attribute

failure: NotRequired[Failure]

Provides test case run failure result.

log_url instance-attribute

log_url: NotRequired[LogUrl]

Provides test case run log URL.

start_time instance-attribute

start_time: NotRequired[Timestamp]

Provides test case run start time.

status instance-attribute

status: NotRequired[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.

test_case_definition_id instance-attribute

test_case_definition_id: NotRequired[UUID]

Provides the test case run definition ID.

test_case_definition_name instance-attribute

test_case_definition_name: NotRequired[TestCaseDefinitionName]

Provides the test case run definition name.

test_case_run_id instance-attribute

test_case_run_id: NotRequired[UUID]

Provides the test case run ID.

test_scenarios instance-attribute

test_scenarios: NotRequired[TestCaseScenariosList]

Provides the test scenarios for the test case run.

warnings instance-attribute

warnings: NotRequired[Warnings]

Provides test case run warnings.