I'm trying to setup PHPUnit tests in PhpStorm.
In Settings > Languagees & Frameworks > PHP > PHPUnit I have chosen the option to use Composer autoload to load PHPUnit.
In Path to script I have put <path to project>/vendor/bin/phpunit
.
When I run the test suite I get the error message:
Test framework quit unexpectedly
Path to script should be the path to the composer autoloader.
<path to project>/vendor/autoload.php
https://intellij-support.jetbrains.com/hc/en-us/community/posts/207008615-Test-framework-quit-unexpectedly
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With