, ( PHPStorm 8.0.1):
1) Preferences > PHP > PHPUnit , .
2) PHPUnit Run > Edit Configurations > Command Line , :
a) Custom working directory: /absolute/path/to/vendor.
b) check the "Use alternate configuration file" box and select it /absolute/path/to/vendor/your_app/(sub_app_if_applicable)/phpunit.xml.dist
Then you can run any test class in the package by specifying the class and file, or simply select the "Defined in configuration file" check box to run all of them according to the configuration.
source
share