A test that failed during the on-stop hook run.
| 41 | |
| 42 | @dataclass |
| 43 | class FailedTest: |
| 44 | """A test that failed during the on-stop hook run.""" |
| 45 | |
| 46 | name: str |
| 47 | category: str # "unit" or "example" |
| 48 | |
| 49 | @property |
| 50 | def debug_cmd(self) -> str: |
| 51 | if self.category == "example": |
| 52 | return f"bash test {self.name} --examples --debug" |
| 53 | return f"bash test {self.name} --debug" |
| 54 | |
| 55 | |
| 56 | @dataclass |
no outgoing calls
no test coverage detected