This is the way to do it without using composer, and using your global phpunit.Phpunit now comes with a phar file. My path was/usr/local/Cellar/phpunit/5.0.0/libexec/phpunit-5.0.0.phar
PhpStorm Preferences -> Path to phpunit.phar -> select the phpunit phar
That‘s all, good stuff.
Cannot find PHPUnit in include path phpstorm
原文:http://www.cnblogs.com/XACOOL/p/5388504.html