code coverage checker
1.0.0
Pemeriksa cakupan kode untuk phpunit.
composer require handcraftedinthealps/code-coverage-checker --dev
phpunit --coverage-php " Tests/reports/coverage.php "
vendor/bin/code-coverage-checker " Tests/reports/coverage.php " " line " " 96.0 "
Alih-alih line
Anda dapat menggunakan class
atau method
. Anda juga dapat memeriksa direktori tertentu saja:
vendor/bin/code-coverage-checker " Tests/reports/coverage.php " " line " " 96.0 " " Directory/A " " Directory/B "