from babregen.judge import Tally
print(Tally(passed=3, failed=0, errors=0))Tally(passed=3, failed=0, errors=0)
Counts of one pytest run, or of the dependents of a unit.
| Name | Type | Description |
|---|---|---|
| passed | int | Tests (or dependents) that passed. |
| failed | int | Tests (or dependents) that failed. |
| errors | int | Errors outside a test: a collection error, a fixture error, a timeout. Always 0 for dependents. |