Collect Report¤
CollectReport
dataclass
¤
CollectReport(
session_id: str,
node_id: str,
timestamp: str,
items: List[
Union[
TestDirectory, TestModule, TestSuite, TestCase
]
],
event: str = "collect_report",
)
A report of collected items.
event
class-attribute
instance-attribute
¤
event: str = 'collect_report'
The event type. Always set to 'collect_report'.
items
instance-attribute
¤
items: List[
Union[TestDirectory, TestModule, TestSuite, TestCase]
]
An array of collected items. Each collected item is a test directory, test module, test suite, or test case. Top level directory is always first element in the array, followed by test cases, then test suites, then test modules, then test directories for each level of nesting.
node_id
instance-attribute
¤
node_id: str
The node id of the node for which items were collected (the top level root directory has an empty node id).