Search this blog
Other JetBrains Blogs
Want a PhpStorm T-Shirt?
Visit our Apparel Store!
Tag Archives: unit testing
More and more PHP developers are shifting to a workflow where they use PhpStorm on their local machine and run and debug their PHP applications on a remote server or Vagrant machine. Which is great! Every project we’re working on … Continue reading
A couple of months ago, PHPUnit 4.0 was released (as well as 4.1 a few days ago). This latest incarnation of the popular unit testing framework for PHP adds a couple of new features and bugfixes. In this blog post, we’ll … Continue reading
The recording of our January 28th webinar featuring Mathias Verraes and Mikhail Vink, Refactoring Legacy Code with PhpStorm, is now available on JetBrains YouTube Channel. In this webinar, Mathias starts from a piece of code that is messy and uncovered by tests. … Continue reading
Unit testing follows the mantra that “the same input always should generate the same output.” But what if some developers on a team have different PHP configurations, or maybe one uses Windows and the other one Mac OS X? Does … Continue reading
Developing for PHP can be done in several ways. Some like to install all components they want to work with themselves. Others prefer downloading and installing a full “LAMP” stack at once. The latter can be done using XAMPP (Windows, … Continue reading
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