diff --git a/src/Handler.php b/src/Handler.php index 7f1f1336e0bbdb1fb96182fbaf62a013ea59098b..154155bc5fe97b1e576e82951c8c46e8884ae5e1 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -100,6 +100,18 @@ class Handler { 'script' => 'phpcs --standard=DrupalPractice web/modules/custom/ web/profiles/custom/ web/themes/custom/', 'description' => 'Run PHP Code Sniffer on custom code', ], + 'phpunit:test' => [ + 'script' => 'vendor/bin/phpunit --configuration tests/phpunit.xml.dist', + 'description' => 'Run PHPUnit tests on custom code', + ], + 'phpunit:list:suites' => [ + 'script' => 'vendor/bin/phpunit --configuration tests/phpunit.xml.dist --list-suites', + 'description' => 'List all PHPUnit test suites for custom code', + ], + 'phpunit:list:groups' => [ + 'script' => 'vendor/bin/phpunit --configuration tests/phpunit.xml.dist --list-groups', + 'description' => 'List all PHPUnit test groups from custom code', + ], ]; } }