ancarda/coverage-enforcer

Enforces a minimum Code Coverage using a Coverage Clover XML file

Installs: 331

Dependents: 2

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Type:project

1.0 2021-03-25 15:47 UTC

This package is auto-updated.

Last update: 2021-05-31 00:31:57 UTC


README

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>

Useful Links