MCPcopy Create free account
hub / github.com/pytest-dev/pytest-bdd / steps

Method steps

src/pytest_bdd/parser.py:197–203  ·  view source on GitHub ↗

Get all steps for the scenario, including background steps. Returns: List[Step]: A list of steps, including any background steps from the feature.

(self)

Source from the content-addressed store, hash-verified

195
196 @property
197 def steps(self) -> list[Step]:
198 """Get all steps for the scenario, including background steps.
199
200 Returns:
201 List[Step]: A list of steps, including any background steps from the feature.
202 """
203 return self.all_background_steps + self._steps
204
205 def render(self, context: Mapping[str, Any]) -> Scenario:
206 """Render the scenario with the given context.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected