Skip to content

Commit

Permalink
Migrate to Pest PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
tzsk committed Mar 26, 2024
1 parent e5dbe60 commit bd60de5
Show file tree
Hide file tree
Showing 7 changed files with 1,099 additions and 557 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,4 @@ jobs:
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
run: vendor/bin/pest --colors=always
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
build
coverage
docs
phpunit.xml
psalm.xml
vendor
tests/phpunit-cache
8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
"laravel/legacy-factories": "^1.0",
"laravel/pint": "^1.4",
"orchestra/testbench": "^6.0|^7.0|^8.0|^9.0",
"pestphp/pest": "^2.34",
"phpunit/phpunit": "^9.3|^10.5",
"vimeo/psalm": "^5.0"
},
Expand All @@ -47,11 +48,14 @@
},
"scripts": {
"psalm": "vendor/bin/psalm",
"test": "vendor/bin/phpunit --colors=always",
"test": "vendor/bin/pest --colors=always",
"format": "vendor/bin/pint"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"extra": {
"laravel": {
Expand Down
Loading

0 comments on commit bd60de5

Please sign in to comment.