Loading PHPUnit from PHAR archive in PhpStorm 6
Since version 3.7 it is possible to load PHPUnit with all the required (as well as some optional) dependencies from a single PHAR file (see the official documentation for details). If you are stuck with PEAR dependency versions, it might be helpful to you.
We are happy to announce that loading PHPUnit from PHAR is supported in PhpStorm 6.0. To switch the PHPUnit loading method, go to Project Settings | PHP | PHPUnit and set the path to phpunit.phar.
In case you don’t have the file already located somewhere on your local system, you may use the helper action Download phpunit.phar from http://pear.phpunit.de and download the latest stable version of PHPUnit from the official PHPUnit site.
With these settings, you can now run PHPUnit tests the same way you did before, this time with a project-specific version of the test framework.
Please download the latest build, provide feedback for bugs and feature requests here, and leave questions in the comments below or in our forums!
Develop with pleasure!
– JetBrains PhpStorm Team
Subscribe to Blog updates
Thanks, we've got you!