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

Method __init__

src/pytest_bdd/reporting.py:29–35  ·  view source on GitHub ↗

Step report constructor. :param pytest_bdd.parser.Step step: Step.

(self, step: Step)

Source from the content-addressed store, hash-verified

27 stopped = None
28
29 def __init__(self, step: Step) -> None:
30 """Step report constructor.
31
32 :param pytest_bdd.parser.Step step: Step.
33 """
34 self.step = step
35 self.started = time.perf_counter()
36
37 def serialize(self) -> dict[str, Any]:
38 """Serialize the step execution report.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected