delimit_test_coverage
Measure test coverage against a threshold to provide a pass/fail signal for CI. Surfaces coverage by file or folder for existing tests.
Instructions
Analyze test coverage for a project (experimental) (Pro).
When to use: to surface coverage by file/folder against a threshold when you need a pass/fail signal for CI. When NOT to use: to scaffold new test stubs (use delimit_test_generate) or run a smoke run (delimit_test_smoke).
Sibling contrast: delimit_test_smoke validates that tests run at all; delimit_test_generate writes test scaffolds; this measures coverage of existing tests.
Side effects: read-only inspection. Gated by require_premium. Calls backends.ui_bridge.test_coverage. Marked experimental — coverage runner detection is heuristic.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_path | Yes | Path to the project root. Required. | |
| threshold | No | Coverage percentage threshold for pass/fail. Default 80. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||