Skip to content

Commit

Permalink
Merge pull request #139 from alexmanase/convert-all-tests-to-pest
Browse files Browse the repository at this point in the history
Convert all tests to pest
  • Loading branch information
freekmurze committed Jan 5, 2023
2 parents bcb4d8b + 13ebfec commit 24b1652
Show file tree
Hide file tree
Showing 8 changed files with 432 additions and 530 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ jobs:
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest
- name: Execute tests
run: vendor/bin/phpunit
run: vendor/bin/pest
15 changes: 9 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
"require-dev": {
"mockery/mockery": "^1.4.3",
"orchestra/testbench": "^6.19|^7.0",
"phpunit/phpunit": "^9.3.0",
"pestphp/pest": "^1.22",
"pestphp/pest-plugin-laravel": "^1.3",
"spatie/test-time": "^1.2.2"
},
"autoload": {
Expand All @@ -43,12 +44,14 @@
}
},
"scripts": {
"test": "vendor/bin/phpunit",
"test-coverage": "vendor/bin/phpunit"

"test": "vendor/bin/pest",
"test-coverage": "vendor/bin/pest"
},
"config": {
"sort-packages": true
"sort-packages": true,
"allow-plugins": {
"pestphp/pest-plugin": true
}
},
"extra": {
"laravel": {
Expand All @@ -59,4 +62,4 @@
},
"minimum-stability": "dev",
"prefer-stable": true
}
}
Loading

0 comments on commit 24b1652

Please sign in to comment.