Skip to content

abenevaut/phpunit-slicer

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

008d507 · Feb 10, 2024

History

31 Commits
Feb 10, 2024
Jul 15, 2022
Apr 4, 2022
Feb 10, 2024
Feb 10, 2024
May 7, 2023
Apr 4, 2022
Feb 10, 2024
Apr 4, 2022
Apr 4, 2022
May 7, 2023
Dec 18, 2022
Dec 18, 2022
May 7, 2023
Jul 14, 2022
Feb 10, 2024
Feb 10, 2024
Feb 10, 2024
May 7, 2023
Feb 10, 2024
Feb 10, 2024

Repository files navigation

PHPUnit-slicer

Tool to slice PHPUnit tests files to tests suites.

how-to

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