Skip to content

Commit

Permalink
feat: add support for pest-php
Browse files Browse the repository at this point in the history
  • Loading branch information
lotyp committed May 13, 2024
1 parent 25eb86e commit 340c5eb
Show file tree
Hide file tree
Showing 3 changed files with 721 additions and 12 deletions.
14 changes: 9 additions & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,11 @@
"dereuromark/composer-prefer-lowest": "^0.1.10",
"friendsofphp/php-cs-fixer": "^3.54",
"google/protobuf": "^3.23",
"phpunit/phpunit": "^10.4",
"pestphp/pest": "^2.34",
"phpunit/phpunit": "^10.5",
"roxblnfk/unpoly": "^1.8.1",
"vimeo/psalm": "^5.11"
"vimeo/psalm": "^5.11",
"ergebnis/phpunit-slow-test-detector": "^2.14"
},
"suggest": {
"ext-simplexml": "To load trap.xml",
Expand All @@ -86,7 +88,8 @@
],
"config": {
"allow-plugins": {
"ergebnis/composer-normalize": true
"ergebnis/composer-normalize": true,
"pestphp/pest-plugin": true
},
"audit": {
"abandoned": "report"
Expand All @@ -109,7 +112,8 @@
"stan": "php vendor/bin/phpstan analyse --memory-limit=2G",
"stan:baseline": "php vendor/bin/phpstan analyse --generate-baseline --memory-limit=2G --allow-empty-baseline",
"stan:ci": "php vendor/bin/phpstan analyse --memory-limit=2G --error-format=github",
"test": "XDEBUG_MODE=coverage php vendor/bin/phpunit",
"test:cc": "XDEBUG_MODE=coverage php vendor/bin/phpunit --coverage --coverage-clover=.build/phpunit/logs/clover.xml"
"test": "XDEBUG_MODE=coverage php vendor/bin/pest --exclude-group phpunit-only",
"test:cc": "XDEBUG_MODE=coverage php vendor/bin/pest --coverage --coverage-clover=.build/phpunit/logs/clover.xml --exclude-group phpunit-only",
"test:leak": "XDEBUG_MODE=coverage php vendor/bin/phpunit --group phpunit-only"
}
}
Loading

0 comments on commit 340c5eb

Please sign in to comment.