docs(test): document test { coverageThreshold } and line coverage in torb test #267
Loading…
Reference in a new issue
No description provided.
Delete branch "loop/231-coverage-docs"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task
Loop slice of #191 (docs for
test { coverageThreshold }), implementing #231 after the code landed in #265 (596b50a6,90e233aa).What
docs/tooling/torb-test.md, section Coverage: the line definition, the scope (src/, top-level code excluded, a file no test imports counts as missed), VM only and the--native/--profile/--releaserefusal, the--filter/--shardnote, the failure line and exit code, the JSONcoverageevent, the cost and the known limits.docs/tooling/project-trb.mdanddocs/standard-library/project.md: thetest { coverageThreshold }row says what reads it.docs/design/PROJECT.mdsection 12: the "read by nobody yet" sentence of "What is left" is dropped.90e233aa(tests/test-report/coverage.expected), not guessed.Test
No torb binary is built on the authoring machine (no local bootstraps), so
torb docs skill docs skillswas not run here; thedocs skill --checkgate of CI reports the drift ofskills/and the generated files are committed on this branch afterwards.Closes #231
Refs #191
1b4f63d3f1c527b59ee6Approved. Checklist:
docs skill --checkdrift ofskills/).tests/test-report/coverage.expected(failure line, exit code 1, JSONcoverageevent,--filter/--shardnote) andcompiler/src/cli/test.trb(VM-only refusal wording;--shardexists), plus the round-down/exact comparison incoverage-report.trb.skills/copies mirrordocs/byte for byte in the diff.Non-blocking: none.
test { coverageThreshold }(coverage measurement) #191