I've always been a heavy IDE user - but for some things, like running tests, I still prefered a terminal. Recently I've played around with the in-IDE possibilities for testing and was pretty satisfied with them. Since Symfony ships with a kinda custom testing experience here's how to setup your IDE to test your Symfony applications with it - and additional features of testing within your IDE.
After following the current Testing documentation it's mandatory to manually run
./bin/phpunit once in your terminal. Symfony will install its own instance of PHPUnit within your
bin directory which will provide the executable
phpunit file for our IDE.
After you've run this command you'll see a
.phpunit directory within your
For being able to run your tests via your IDE open your Settings window and navigate to
Languages & Frameworks > PHP > Test Frameworks.