Skip to content

chore: upgrade Pest to v5 - #28

Merged
limonte merged 1 commit into
mainfrom
chore/upgrade-pest-v5
Aug 4, 2026
Merged

chore: upgrade Pest to v5#28
limonte merged 1 commit into
mainfrom
chore/upgrade-pest-v5

Conversation

@limonte

@limonte limonte commented Aug 4, 2026

Copy link
Copy Markdown
Member

Bumps the pestphp/pest dev requirement from ^4.0 to ^5.0.

composer update pestphp/pest --with-all-dependencies resolves to v5.0.3, which brings PHPUnit 12.5 → 13.2 along with the arch, mutate, and profanity plugins at ^5.0. composer.lock is gitignored, so the diff is a single line.

No test code changes were needed — nothing in the suite hits a Pest 4 → 5 breaking change.

Verification

The suite can't run standalone in this repo (no phpunit.xml/Pest.php — there's no app to boot), so I replicated .github/workflows/test.yml exactly against a fresh Laravel app: laravel new --pest → local path repo → composer require sweetalert2/laravel:@dev → copy tests and views → ./vendor/bin/pest.

Pest Testing Framework 5.0.3
tests: 25, passed: 25, assertions: 63, duration: 206ms

The CI workflow itself needed no edit: the Laravel installer already provisions Pest 5 in fresh apps, which is what CI actually runs against.

🤖 Generated with Claude Code

Bumps the dev requirement from ^4.0 to ^5.0 (resolves to v5.0.3, which
brings PHPUnit 13). No test changes were needed.

Verified by replicating the CI workflow against a fresh Laravel app:
25 tests, 63 assertions, all passing.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@limonte
limonte merged commit 280fe7e into main Aug 4, 2026
1 check passed
@limonte
limonte deleted the chore/upgrade-pest-v5 branch August 4, 2026 20:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant