tests
4 guardrails, all at version v1.
| Guardrail | Default severity | What it checks |
|---|---|---|
tests/coverage-floor | warning | The coverage the build measured sits at or above the line and branch floors the team sets. Both floors default to zero, so the guardrail reports the number until a team chooses one. |
tests/no-failures | error | Every case the test reports name either passed or was skipped, so nothing red was carried past the gate. |
tests/no-skipped-growth | warning | The reports name no more skipped cases than the budget allows. The budget is a fixed number this guardrail is configured with rather than a comparison against the previous build, so it catches growth only as far as the team lowers the number when a skip comes back. |
tests/results-published | error | The build left a test report that can be read, naming at least the cases the team expects, rather than reporting nothing at all. |
Every guardrail in this category is configured the same way, in the guardrails.checks array of buildnote.json. See Configuring guardrails for every option, and Guardrails to search the whole library.