|
14 | 14 | "phpstan/phpstan": "^2.1", |
15 | 15 | "phpunit/phpunit": "^10.5", |
16 | 16 | "squizlabs/php_codesniffer": "^3.11", |
17 | | - "symfony/console": "^6.4" |
| 17 | + "symfony/console": "^6.4", |
| 18 | + "symfony/process": "^6.4" |
18 | 19 | }, |
19 | 20 | "require": { |
20 | 21 | "php": "^8.1", |
|
36 | 37 | "phpcs:fix": "vendor/bin/phpcbf", |
37 | 38 | "phpstan": "vendor/bin/phpstan analyse --memory-limit 1G", |
38 | 39 | "lint": "find . -type f -name '*.php' -not -path './vendor/*' -exec php -l {} \\;", |
39 | | - "test": "vendor/bin/phpunit", |
40 | | - "test:coverage": "XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text --filter 'Gaambo\\\\DeployerWordpress\\\\'", |
| 40 | + "phpunit": "DO_NOT_TRACK=true vendor/bin/phpunit", |
| 41 | + "tests:unit": "DO_NOT_TRACK=true vendor/bin/phpunit --testsuite Unit", |
| 42 | + "tests:unit:coverage": "DO_NOT_TRACK=true XDEBUG_MODE=coverage vendor/bin/phpunit --testsuite Unit --coverage-text", |
| 43 | + "tests:integration": "DO_NOT_TRACK=true vendor/bin/phpunit --testsuite Integration", |
| 44 | + "tests:integration:coverage": "DO_NOT_TRACK=true XDEBUG_MODE=coverage vendor/bin/phpunit --testsuite Integration --coverage-text", |
| 45 | + "tests:functional": "DO_NOT_TRACK=true vendor/bin/phpunit --testsuite Functional", |
| 46 | + "tests:functional:coverage": "DO_NOT_TRACK=true XDEBUG_MODE=coverage vendor/bin/phpunit --testsuite Functional --coverage-text", |
| 47 | + "tests": [ |
| 48 | + "@test:unit", |
| 49 | + "@test:integration", |
| 50 | + "@test:functional" |
| 51 | + ], |
| 52 | + "tests:coverage": "DO_NOT_TRACK=true XDEBUG_MODE=coverage vendor/bin/phpunit --coverage-text", |
41 | 53 | "precommit": [ |
42 | 54 | "@lint", |
43 | 55 | "@phpcs", |
|
0 commit comments