Home /Modules/test-suites/FUNCTION.COVERAGE.POLICY.md

FUNCTION.COVERAGE.POLICY.md

test-suites/FUNCTION.COVERAGE.POLICY.md · 30 line(s) · markdown

Function Verification Matrix

The function inventory is generated rather than manually maintained.

StatusMeaningRequired next action
testedDirect behavioral test maps to the functionMaintain regression coverage
integration-testedFunction is exercised through an integration pathAdd direct edge-case tests where valuable
compile-onlySyntax/build verification exists without behavioral mappingCandidate for behavioral test
untestedNo verified test/compile evidenceHighest verification gap

Verification ladder

Discovery → Compile → Behavioral → Integration → Regression

The inventory is intentionally conservative. Name matching is evidence for triage, not proof of semantic coverage. Before a function is promoted to tested, its test should assert observable behavior, including success and relevant failure/edge cases.

Required coverage targets

For important runtime and language functions, the desired end state is:

  1. normal behavior;
  2. boundary/empty input behavior;
  3. invalid input behavior;
  4. resource/error behavior where applicable;
  5. concurrency behavior where applicable;
  6. integration behavior where the function crosses subsystem boundaries.

FUNCTION.COVERAGE.md is a living verification backlog, not a numerical quality score.