Laravel route coverage

dev-master 2021-06-08 19:22 UTC

This package is auto-updated.

Last update: 2021-06-09 18:44:42 UTC


Laravel route coverage report.

With this package you can see the percentage of test coverage of your endpoint's. Unless of course you do it through Laravel or PHPUnit tests. How it works? First, we scan the entire directory where the tests are stored, and look for all the http calls there. After that, we take all the routes of the project and combine it into a single report.

📜 Installation

The package can be installed via composer:

composer require yzen.dev/laravel-route-coverage

📜 Usage

Generate report:

php artisan route:coverage

After executing the command, the result of the report will be displayed in the console in the following form:


Also the html report will be saved in the public/route-coverage directory: