/lightsout:test-coverage-to-threshold
Write tests until the repo’s own coverage check passes, in small batches, each verified before the next. Stop and resume any time.
lightsout test-coverage-to-thresholdSaves a run record
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- resume a parked coverage run
lightsout test-coverage-to-threshold --run <id>
- --run <id>
- The parked coverage run to pick back up, on the configuration it recorded when it started; a run that recorded none is refused.Required
- --cwd <path>
- Repository to raise coverage in.Left out: The process working directory.
- --max-batches <n>
- Park the run after this many batches.Left out: The run continues until the coverage script passes.
- --allow-dirty
- Start even though the git tree has uncommitted changes.Left out: off