Test Case Report¤
TestCaseReport
dataclass
¤
TestCaseReport(
node_id: str,
outcome: Outcome,
duration: float,
setup: TestCaseSetup,
teardown: TestCaseTeardown,
finished: TestCaseEnd,
call: TestCaseCall | None = None,
)
Report for a single test case.
Attributes:
Name | Type | Description |
---|---|---|
call |
TestCaseCall | None
|
Call step of the test case (optional). |
duration |
float
|
Duration of the test case in seconds (including setup and teardown). |
finished |
TestCaseEnd
|
View of the test case after it has finished. |
node_id |
str
|
The node ID of the test case. |
outcome |
Outcome
|
Outcome of the test case. |
setup |
TestCaseSetup
|
Setup step of the test case. |
teardown |
TestCaseTeardown
|
Teardown step of the test case. |
call
class-attribute
instance-attribute
¤
call: TestCaseCall | None = None
Call step of the test case (optional).