Step execution duration. :return: Step execution duration. :rtype: float
(self)
| 59 | |
| 60 | @property |
| 61 | def duration(self) -> float: |
| 62 | """Step execution duration. |
| 63 | |
| 64 | :return: Step execution duration. |
| 65 | :rtype: float |
| 66 | """ |
| 67 | if self.stopped is None: |
| 68 | return 0 |
| 69 | |
| 70 | return self.stopped - self.started |
| 71 | |
| 72 | |
| 73 | class ScenarioReport: |
nothing calls this directly
no outgoing calls
no test coverage detected