IF Commons GitHub

quality

Written to: 1 requirement: 1 proved, 0 partly, 0 failing, 0 with no test recorded. 0001-quality-evidence FR-013

quality, the command of the quality system (commons 0021-ifqs): record keeps a run's record as evidence (a new file on the append-only quality branch, signed where Git is set to sign, and a note on the tested commit), verify walks the branch and its chain and names the first file or commit that does not match, and render renders a record as JUnit XML, CTRF, SARIF, TAP or the documents of ISO/IEC/IEEE 29119-3, on demand. ifc test is unchanged: record takes the record that ifc test run writes, and verifies the CAPA whose named test it passes (FR-034). The system reports itself with index (the index of the branch, --checkable), freshness (every proof judged by time and by change, the nonconformances it calls for opened with --open), nonconformances, capa open|verify|close, register (the proof register with the grade and day of its evidence), archive (a tag on the branch once the retention period has passed, nothing deleted), tier (a claim judged) and attest (a statement, a review or a probe's result kept as evidence); see commands.ts. Exit status: 0 where it did what was asked, 1 where a record was refused, the branch does not verify or it found something, 2 for a command line that does not fit.

bun quality/quality.ts record --record test-results/<trace>.otlp.json --repo . --not-run "0001-quality-evidence FR-013=no network"
bun quality/quality.ts verify --repo . --allowed-signers .github/allowed_signers --require-signed
bun quality/quality.ts render --repo . --run <trace> --format junit,sarif --out reports

Source: commons/quality/src/quality.ts

0 of 1 exports are imported by a test of the run. A test that imports an export may not call it or check what it returns.

mainfunctionno test imports it
function main(argv: readonly string[]): Promise<number>

quality with its arguments: the exit status.

Titles, headings, exports, tables, columns and requirements. Esc closes.