~ancarda/coverage-enforcer

ref: 688299fd17c9fb53cbdac871d2f67de3e5398720 coverage-enforcer/README.md -rw-r--r-- 750 bytes
688299fdMark Dain Add unit tests and code quality tools 4 months ago

#Coverage Enforcer

builds.sr.ht status

Coverage Enforcer is a tiny command line tool that enforces code coverage metrics. Intended to be used in Continuous Integration (CI) systems to prevent code coverage from falling to unacceptable levels.

Pull down with composer:

composer require --dev ancarda/coverage-enforcer

Then just invoke like so:

vendor/bin/enforce-coverage --minStmtCov=100 <path to clover XML file>