Skip to content

A code coverage checker for phpunit supporting symfony/phpunit-bridge.

License

Notifications You must be signed in to change notification settings

handcraftedinthealps/code-coverage-checker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code Coverage Checker ⛰

GitHub license GitHub tag (latest SemVer)

A code coverage checker for phpunit.

Installation

composer require handcraftedinthealps/code-coverage-checker --dev

Usage

Generate coverage

phpunit --coverage-php "Tests/reports/coverage.php"

Check coverage

vendor/bin/code-coverage-checker "Tests/reports/coverage.php" "line" "96.0"

Instead of line you can use class or method. You can also check only specific directories:

vendor/bin/code-coverage-checker "Tests/reports/coverage.php" "line" "96.0" "Directory/A" "Directory/B"

Example Output

!Exmaple code coverage checker output

About

A code coverage checker for phpunit supporting symfony/phpunit-bridge.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages