Pest plugin not working as described with PHP 8.4?
PHP 8.4,
Intellij Ultimate, 2026.1.1
Laravel 13
Attempting to swap out phpunit with pest for debugging purposes per its claim on how vastly better it is.
Unfortunately, installing and enabling this plugin is failing to identify test entry points in the test files and is not providing the ability to run/debug individual test cases (as phpunit does), from within the test file as the documentation claims it should be doing.
Without this ability, any advantages to feature additions is pretty much nullified and I may as well stick with plain-ol-phpunit.
There's a post from ~3 years ago referencing a link to address this very problem which is no longer available. Anyone know of a solution to this?
Please sign in to leave a comment.
Hello,
Basically, the PHP language level should not affect Test Frameworks functionality.
I have double-checked it in IntelliJ IDEA with PHP and Pest plugins, and everything works fine:
I wonder why it does not work in your scenario, though.
Could you please show/share one of your Pest test files?