lightsoutAlpha

/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.

records runs
/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-threshold
lightsout test-coverage-to-thresholdresume a parked coverage run
flagmeaningleft 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-dirtyStart even though the git tree has uncommitted changes.off

Related commands