abenevaut / phpunit-slicer
Tool to slice PHPUnit tests files to tests suites.
0.3.5
2024-11-09 07:57 UTC
Requires
- php: ^8.1
- abenevaut/laravel-infrastructure: ^0.2.2
- illuminate/translation: ^10.9
- illuminate/validation: ^10.9
- nunomaduro/termwind: ^1.15
Requires (Dev)
- laravel-zero/framework: ^10.0
- mockery/mockery: ^1.5.0
- pestphp/pest: ^2.6.0
- pestphp/pest-plugin-faker: ^2.0
README
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.