Skip to content

Commit 8f48a0c

Browse files
committed
feat: add pest
1 parent 9078a90 commit 8f48a0c

File tree

3 files changed

+993
-81
lines changed

3 files changed

+993
-81
lines changed

composer.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,11 @@
2424
"mockery/mockery": "^1.6",
2525
"nunomaduro/collision": "^8.6",
2626
"peckphp/peck": "^0.1.3",
27+
"pestphp/pest": "^3.8",
2728
"phpstan/extension-installer": "^1.4",
2829
"phpstan/phpstan": "^2.1",
2930
"phpstan/phpstan-deprecation-rules": "^2.0",
3031
"phpstan/phpstan-strict-rules": "^2.0",
31-
"phpunit/phpunit": "^11.5.3",
3232
"rector/rector": "^2.0"
3333
},
3434
"autoload": {
@@ -68,9 +68,15 @@
6868
"Composer\\Config::disableProcessTimeout",
6969
"npx concurrently -c \"#c4b5fd,#fb7185,#fdba74\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"php artisan inertia:start-ssr\" --names=queue,logs,ssr"
7070
],
71+
"test:unit": "vendor/bin/pest --parallel",
72+
"test:watch": "vendor/bin/pest --parallel --watch",
73+
"test:coverage": "vendor/bin/pest --coverage --parallel",
74+
"test:types": "vendor/bin/pest --type-coverage --min=100 --parallel",
75+
"test:mutate": "vendor/bin/pest --mutate --min=100 --parallel",
76+
"test:ci": "vendor/bin/pest --mutate --min=100 --parallel --ci",
7177
"test": [
7278
"@php artisan config:clear --ansi",
73-
"@php artisan test"
79+
"vendor/bin/pest"
7480
],
7581
"prepare": "git config core.hookspath .githooks",
7682
"fmt": "vendor/bin/pint -vv",

0 commit comments

Comments
 (0)