PHPUnit-slicer
Tool to slice PHPUnit tests files to tests suites.
Install
In PHP project
composer require --dev abenevaut/phpunit-slicer
Usage
vendor/bin/phpunit-slicer slice 4 ./phpunit.xml.dist ./phpunit.xml ./tests
Globally
composer global require abenevaut/phpunit-slicer
Usage
phpunit-slicer slice 4 ./phpunit.xml.dist ./phpunit.xml ./tests
Use cases
vendor/bin/phpunit --testsuite sliced-testsuite-0 --configuration phpunit.xml
vendor/bin/pest --testsuite sliced-testsuite-1 --configuration phpunit.xml
php artisan test --testsuite sliced-testsuite-2 --configuration phpunit.xml
php laravel-zero-project test --testsuite sliced-testsuite-3 --configuration phpunit.xml
Build
php phpunit-slicer app:build phpunit-slicer
php phpunit-slicer app:build phpunit-slicer --build-version=0.0.X
Licensing
- Credits to tailwindtoolbox for the HTML template
- The Laravel Zero is open-sourced software licensed under the MIT license.