Download the PHP package stryber/laravel-test-coverage-reporter without Composer
On this page you can find all versions of the php package stryber/laravel-test-coverage-reporter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download stryber/laravel-test-coverage-reporter
More information about stryber/laravel-test-coverage-reporter
Files in stryber/laravel-test-coverage-reporter
Package laravel-test-coverage-reporter
Short Description Simple tool to send test coverage reports and generate badge
License proprietary
Informations about the package laravel-test-coverage-reporter
StryberPhpLaravelTestCoverageReporter
Installation
Use composer to install:
composer require stryber/laravel-test-coverage-reporter
Publish the config file:
php artisan vendor:publish --tag="stryber-coverage-reporter"
Be sure to set URL of the service you are going to send coverage report
'service_url' => env('TEST_COVERAGE_REPORTER_SERVICE_URL', '')
Use: php artisan coverage:report {RepositoryName} {--badge}
Under the hood it will run php artisan test
printing out status to console, so there is no need to run tests separately.
RepositoryName
is the name of your repo.
When using Github Actions, you can use the default variable GITHUB_REPOSITORY
.
If passed --badge
, coverage badge will be generated in the root of the app, namedcoverage.svg
All versions of laravel-test-coverage-reporter with dependencies
ext-simplexml Version *
illuminate/support Version ^8.0
illuminate/config Version ^8.0
illuminate/console Version ^8.0
symfony/process Version ^5.1.4
phpunit/phpunit Version ^9.3.3
guzzlehttp/guzzle Version ^7.0