Add a test result to the current suite
(self, result: TestResult)
| 303 | self.current_suite.passed = passed |
| 304 | |
| 305 | def add_result(self, result: TestResult) -> None: |
| 306 | """Add a test result to the current suite""" |
| 307 | if self.current_suite: |
| 308 | self.current_suite.results.append(result) |
| 309 | self._format_result(result) |
| 310 | |
| 311 | def _format_result(self, result: TestResult) -> None: |
| 312 | """Format and display a test result""" |
no test coverage detected