![phpstorm phpunit phpstorm phpunit](https://i.imgur.com/gHQC51n.png)
#Phpstorm phpunit plus#
Click the plus sign in the top left corner of the screen and select PHPUnit.This allows you to debug directly out of the file, without setting up a custom configuration. You can also set the Default configuration file directly to your Drupal root directory, followed by /core/phpunit.xml. For Path to script, enter the path to your Drupal root directory, followed by /vendor/autoload.php.(Earlier versions of PhpStorm call this option: Use custom autoloader or Use custom autoloader). (Earlier versions of PHPStorm place this configuration at: PhpStorm v8-9.x: Project settings > PHP > PHPUnit, PhpStorm v10.x Languages & Frameworks > PHP > PHPUnit) Click " +" button, select "PHPUnit local" from dropdown. Create a Test Framework configuration by navigating to Languages & Frameworks > PHP > Test Frameworks.On Linux or Windows, press ctrl + alt + s or go to File > Settings.
![phpstorm phpunit phpstorm phpunit](https://i.stack.imgur.com/t9vl1.png)