Skip to content

Test Case Call¤

TestCaseCall dataclass ¤

TestCaseCall(
    node_id: str,
    session_id: str,
    start_timestamp: str,
    stop_timestamp: str,
    duration: float,
    outcome: Outcome,
    event: str = "case_call",
    error: Optional[TestCaseError] = None,
)

Event emitted when a call step has been executed in a test case.

duration instance-attribute ¤

duration: float

Duration of the call step in seconds.

error class-attribute instance-attribute ¤

error: Optional[TestCaseError] = None

Error details if the call step failed.

event class-attribute instance-attribute ¤

event: str = 'case_call'

The event type. Always set to 'case_call'.

node_id instance-attribute ¤

node_id: str

The node ID of the test case.

outcome instance-attribute ¤

outcome: Outcome

Outcome of the call step.

session_id instance-attribute ¤

session_id: str

The unique if of this test session used to aggregate events together.

start_timestamp instance-attribute ¤

start_timestamp: str

Start time of the call step in ISO 8601 format.

stop_timestamp instance-attribute ¤

stop_timestamp: str

Stop time of the call step in ISO 8601 format.