prinsfrank / phpunit-laravel-leash
Fund package maintenance!
PrinsFrank
Requires
- php: ^7.4 || ^8.0
- phpunit/phpunit: ^9.5
- prinsfrank/laravel-leash: ^0.2.0
README
This package implements the Laravel Leash package as a PHPUnit listener.
To get started, run the following command:
composer require prinsfrank/phpunit-laravel-leash --dev
And enable the extension by adding the following lines in you phpunit.xml.dist;
<extensions> <extension class="PrinsFrank\PHPUnitLaravelLeash\Plugin" /> </extensions>
The extension is enabled for all test in 'Unit' namespaces by default. If you want to modify this, you can overwrite the pattern:
<extensions> <extension class="PrinsFrank\PHPUnitLaravelLeash\Plugin"> <arguments> <string>/\Unit\/</string> </arguments> </extension> </extensions>