Tag Archives: PHPUnit

PHPUnit installation via Composer in PhpStorm

Since version 3.7, PHPUnit allows us to install the test runner and optional dependencies using Composer. With PhpStorm 6, this workflow is now supported from the IDE. Using both the bundled Composer support and PhpStorm’s unit testing support, we can … Continue reading

Posted in Cool Feature, PhpStorm | Tagged , , , , | 7 Comments

Running CakePHP2 Unit Tests in PhpStorm

CakePHP2 comes with unit testing support powered by PHPUnit. In addition to the features offered by PHPUnit, CakePHP offers some additional features to make testing easier. Unit tests in CakePHP rely on a custom test runner which can be run … Continue reading

Posted in Cool Feature, PhpStorm | Tagged , , , , | 7 Comments

PhpStorm 6 EAP build 126.36

New build is ready – this time with some quite visible changes! Check out new Composer project type at File|New Project|Projec Type->Composer PHPUnit tests generation via File|New|PHPUnit… and Navigate|Test actions Controllable Arrangement of class members in PHP at Settings|Code Style|PHP|Arrangement Hierarchical color scheme management via Language … Continue reading

Posted in Early Access Preview, PhpStorm | Tagged , | 36 Comments

Continuous Integration for PHP using TeamCity

If you have multiple team members, you should be doing Continuous Integration (CI). By building the desired output artifacts on a frequent basis and analyzing their quality using unit tests and code coverage, you will find that there are fewer … Continue reading

Posted in Cool Feature, Tutorial | Tagged , , , , , , | 2 Comments

PhpStorm & WebStorm 4.0 EAP 116.101

This week’s EAP brings you important bug fixes and improvements in all areas, with following changes most notable: PHP 5.4 is now fully supported – this build will recognize trait use section’s method renames and conflict resolution rules and infer $this type in … Continue reading

Posted in Early Access Preview, PhpStorm, WebStorm | Tagged , , , , , , , | 4 Comments

PHPUnit Support

After you set up PHPUnit, Web IDE greatly helps you to run your tests. Namely, to quickly create test run configuration: Right-click the desired target: a directory or a PHP file in the Project view, or a test class/method name … Continue reading

Posted in Cool Feature, PhpStorm | Tagged , , , | 7 Comments