Skip to content
BETAGuardrails are in beta. The library, the configuration format and the CLI command can still change.

Guardrails

tests

4 guardrails, all at version v1.

GuardrailDefault severityWhat it checks
tests/coverage-floorwarningThe 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-failureserrorEvery case the test reports name either passed or was skipped, so nothing red was carried past the gate.
tests/no-skipped-growthwarningThe 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-publishederrorThe 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.

Buildnote Limited
Registered in England and Wales, Reg: 16140412