IF Commons GitHub

host/declaration

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

The harness's declaration, read for the judgements that depend on it (commons 0001-quality-evidence FR-016 and FR-049): the grade a requirement needs to be counted proved and the floor of a proof's strength both rise for a harness that declares a regulated domain and production. The file is the one mizan/changes.ts reads (ifccm.declaration.ts, data and never run, 0020-ifccm FR-010); it is read here once and handed to the pure functions as an argument.

Source: commons/quality/src/host/declaration.ts

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

DECLARATION_FILEconstno test imports it
const DECLARATION_FILE: "ifccm.declaration.ts"

The file of a harness's record, in the root of its repository (0020-ifccm FR-010).

readDeclarationfunction
function readDeclaration(repo: string, file?: string | undefined): Promise<Result<Declaration | undefined, string>>

The declaration of the harness whose repository is repo: the one in file where given (a file that is not there is an error), else in ifccm.declaration.ts of the repository, and none where the repository has no such file or its file declares nothing.

Imported by 9 tests of the run (9 passed, 0 failed): the library's results

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