💾 Archived View for markdain.net › project › coverage-enforcer captured on 2021-11-30 at 20:18:30. Gemini links have been rewritten to link to archived content
-=-=-=-=-=-=-
Git Clone URI:
git@git.sr.ht:~ancarda/coverage-enforcer
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>