Search this blog
Other JetBrains Blogs
Want a PhpStorm T-Shirt?
Visit our Apparel Store!
Tag Archives: PHPUnit
PHP comes with the Phar extension bundled, which allows us to put entire libraries or applications into a single “phar” file. This makes it easier to distribute our code: it’s just one file! PhpStorm can work with Phar packages in … Continue reading
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 … Continue reading
Starting with PhpStorm 6.0, PHPUnit Skeleton Generator is no longer available in the IDE. PHPUnit tests creation functionality has been completely re-worked so that PhpStorm generates tests itself and you can benefit from its flexibility and code insight. The IDE … Continue reading
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
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
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
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
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