tests
4 guardrails, all at version v1.
| Guardrail | Default severity | What it checks |
|---|---|---|
tests/coverage-floor | warning | The coverage the build measured is at or above the line and branch floors the team sets. Both floors default to zero, so the guardrail just reports the number until the team chooses one. |
tests/no-failures | error | Every test case in the reports passed or was skipped, so no failing test gets past the gate. |
tests/no-skipped-growth | warning | The reports contain no more skipped cases than the budget allows. The budget is a fixed number in the configuration, not a comparison with the previous build, so it only catches growth if the team lowers the number as skipped tests come back. |
tests/results-published | error | The build left a readable test report naming at least as many cases as the team expects, instead of reporting nothing at all. |
You configure every guardrail in this category the same way, in the guardrails.checks array of buildnote.json. Configuring guardrails lists every option, and Guardrails lets you search the whole library.