Represents a scenario with steps. Attributes: feature (Feature): The feature to which this scenario belongs. keyword (str): The keyword used to define the scenario. name (str): The name of the scenario. line_number (int): The line number where the scenario starts
| 238 | |
| 239 | @dataclass(eq=False) |
| 240 | class Scenario: |
| 241 | """Represents a scenario with steps. |
| 242 | |
| 243 | Attributes: |
| 244 | feature (Feature): The feature to which this scenario belongs. |
| 245 | keyword (str): The keyword used to define the scenario. |
| 246 | name (str): The name of the scenario. |
| 247 | line_number (int): The line number where the scenario starts in the file. |
| 248 | steps (List[Step]): The list of steps in the scenario. |
| 249 | description (Optional[str]): The description of the scenario. |
| 250 | tags (set[str]): A set of tags associated with the scenario. |
| 251 | """ |
| 252 | |
| 253 | feature: Feature |
| 254 | keyword: str |
| 255 | name: str |
| 256 | line_number: int |
| 257 | steps: list[Step] |
| 258 | description: str | None = None |
| 259 | tags: set[str] = field(default_factory=set) |
| 260 | rule: Rule | None = None |
| 261 | |
| 262 | |
| 263 | @dataclass(eq=False) |
no outgoing calls
no test coverage detected
searching dependent graphs…