/test-coverage-to-threshold
Raise a repo’s unit-test coverage until its own coverage script passes, in verified, resumable batches via the lightsout coverage pipeline.
/test-coverage-to-thresholdlightsout test-coverage-to-threshold
When to reach for it
Use it when the coverage gate is what stands between you and a green build. It writes tests in batches until your own coverage script passes, and stops there.
How to run it
lightsout test-coverage-to-thresholdlightsout test-coverage-to-thresholdresume a parked coverage run| flag | meaning | left out |
|---|---|---|
| --run <id> | The parked coverage run to pick back up. | required |
| --cwd <path> | Repository to raise coverage in. | The process working directory. |
| --max-batches <n> | Park the run after this many batches. | The run continues until the coverage script passes. |
| --allow-dirty | Start even though the git tree has uncommitted changes. | off |