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

Method finalize

src/pytest_bdd/reporting.py:52–58  ·  view source on GitHub ↗

Stop collecting information and finalize the report. :param bool failed: Whether the step execution is failed.

(self, failed: bool)

Source from the content-addressed store, hash-verified

50 }
51
52 def finalize(self, failed: bool) -> None:
53 """Stop collecting information and finalize the report.
54
55 :param bool failed: Whether the step execution is failed.
56 """
57 self.stopped = time.perf_counter()
58 self.failed = failed
59
60 @property
61 def duration(self) -> float:

Callers 2

failMethod · 0.95
after_stepFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected