I\'m having trouble getting phpunit working inside of a Symfony project in PhpStorm - phpunit -c app
works fine in the OSX terminal.
Here is the error:
PhpStorm does not always instantiate the test runner from the project root, to fix this add the absolute path to the project root under 'custom working directory' in the run/debug config. This will save you having to add the absolute path to the app in the phpunit.xml.dist config, it will also ensure that any relative path file includes (such as JSON test data) can be found.