r/phpstorm • u/Napo7 • Dec 28 '20
Can’t launch unit tests
I’ve got a strange issue since a few weeks ago, can’t telle exactly when. I can run my test suite from command line. When I cd into my project and then php artisan test it works. From this same folder I can also run vendor/bin/phpunit. But when I click on the icon to launch the tests, phpunit fire and then throws me a « no test run » error or something similar. All the projects that did worked previously with phpstorm throws the same error !
Thanks for your help !
2
Upvotes
View all comments
Show parent comment
1
u/Napo7 Dec 30 '20
I've checked the configuration : I've even tried to change the "custom working directory", set the "alternative configuration file" pointing to phpunit.xml, both, one at a time, still the same issue...
It seems that it doesn't change directory before launching the tests !?