Test Suite¤
TestSuite
dataclass
¤
TestSuite(
node_id: str,
name: str,
module: str,
path: str,
doc: str,
markers: list[str],
node_type: str = "suite",
)
A collected test suite (test class).
Attributes:
Name | Type | Description |
---|---|---|
doc |
str
|
The suite docstring. |
markers |
list[str]
|
Test markers. Each marker is a string. |
module |
str
|
The name of the module where the suite is defined. |
name |
str
|
The suite name, i.e., the name of the class. |
node_id |
str
|
The node ID of the test suite. |
node_type |
str
|
The node type. Always set to 'suite'. |
path |
str
|
The name of the file where the suite is defined. |