I created a phpunit test file, when I try to run it through phpstorm, I get a message:
Unable to attach test reporter to test framework or test framework quit unexpectedly
The following command seems to be executing:
/usr/local/bin/php /private/var/folders/4b/qrnw7nbd6llgmhrss5rf1_880000gt/T/ide-phpunit.php --configuration /Users/Shared/sites/pac/app/app/phpunit.xml.dist BackendControllerTest /Users/Shared/sites/pac/app/modules/Pac/Backend/Tests/Controller/BackendControllerTest.php Testing started at 23:22 ... Process finished with exit code 0
when I execute this through the command line, I get a lot more output
PHPUnit 3.6.11 by Sebastian Bergmann. ...etc... FAILURES! Tests: 2, Assertions: 2, Failures: 1.
It seems phpunit is not running in phpstorm? shouldn't there be some kind of error message instead of terminating with exit code 0? The paths to php and phpunit (identical) in the phpstorms configuration should be in order (both are installed via homebrew in / usr / local / bin, the path is added to phpstorm)
osx 10.7.4 php 5.3.14 PHPUnit 3.6.11
Thanks for helping me! Matthias
kertal
source share