Test Case Teardown¤
JSON Schema
https://charbonnierg.github.io/pytest-broadcaster/latest/schemas/test_case_teardown.json
TestCaseTeardown
dataclass
¤
TestCaseTeardown(
session_id: str,
node_id: str,
start_timestamp: str,
stop_timestamp: str,
duration: float,
outcome: Outcome,
event: str = "case_teardown",
error: Optional[TestCaseError] = None,
)
Pytest Test Case Teardown
error
class-attribute
instance-attribute
¤
error: Optional[TestCaseError] = None
Error details if the teardown step failed.
event
class-attribute
instance-attribute
¤
event: str = 'case_teardown'
The event type. Always set to 'case_teardown'.
session_id
instance-attribute
¤
session_id: str
The unique if of this test session used to aggregate events together.