Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

ljbirch's avatar
Level 10

Laravel Sail PEST Tests Not Running Correctly PHP Storm

Hi All, I'm having some issues with PEST tests running with Laravel Sail.

When I run all tests and all tests in a file a given file I get:

[docker-compose://[\wsl$\Ubuntu-22.04\home\dave\laracasts\pest-driven-laravel\docker-compose.yml]:laravel.test/]:php /var/www/html/vendor/pestphp/pest/bin/pest --teamcity --configuration /var/www/html/phpunit.xml

Tests: 2 passed (2 assertions) Duration: 0.37s

Process finished with exit code 0

When trying to run individual tests in a file I get no output at all from the test regardless of pass or fail either in the console nor the pane to the left:

[docker-compose://[\wsl$\Ubuntu-22.04\home\dave\laracasts\pest-driven-laravel\docker-compose.yml]:laravel.test/]:php /var/www/html/vendor/pestphp/pest/bin/pest --teamcity --configuration /var/www/html/phpunit.xml /var/www/html/tests/Feature/ExampleTest.php "--filter=/^(P\\)?Tests\\Feature\\ExampleTest::gives\sback\sa\ssuccessful\sresponse\sfor\shome\spage(\swith\s(data\sset\s"."|\(.\))(\s\/\s(data\sset\s"."|\(.\)))*(\s#\d+)?)?$/"

Duration: 0.05s

Process finished with exit code 0

Is this a limitation of having Test Configurations in PHP Storm that are ran in Remote Interpreters?

0 likes
1 reply

Please or to participate in this conversation.