Skip to content

coverage.accept

Lower a package's coverage mark deliberately, with the reason on the record.

The mark rises on its own when a run clears it; lowering it is a person's act, so this writes a dated row naming who and why, and the next gated run judges from it. Refuses without a reason, for a package not under auto-ratchet, at or above the current mark, or when the marks cannot be read.

fm coverage.accept <package> <value> [--reason=VALUE]
Parameter Type Default Description
<package> required the package path, as packages/forge
<value> float required the new mark, in percent
--reason=VALUE "" why the mark comes down; goes on the record

Example

$ fm coverage.accept <package> <value>