Skip to content
Sarj Repo Standards

operational-script-tests

Review tests in operational directories.

Examples

Operational test requiring contract review

Before — rejected · warning
iac/bell/preview-contract.test.ts
After — preferred
Retained distinct coverage or an equivalent existing check
More cases 1

GitHub script test requiring contract review

Before — rejected · warning
.github/scripts/deployment-steps.test.mts
After — preferred
Retained distinct coverage or an equivalent existing check

Enable this rule

Add the stable ID to enabled_rules in your tracked .repo-standards/repository.toml:

enabled_rules = ["repository/artifacts/operational-script-tests"]

This selects only this rule. To retain the defaults, also include repository/artifacts/untyped-javascript and repository/artifacts/bespoke-iac-verifiers, along with any existing IDs. Omitted or empty selections use the defaults. Setup and staged checks