Tag Archives: unit testing

Running PHPUnit tests over SSH on Vagrant with PhpStorm 8

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

Posted in Cool Feature, Early Access Program | Tagged , , , , , , | 5 Comments

PHPUnit 4 in PhpStorm 8 EAP

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

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

Hands-on PhpStorm Workshop Materials

Have you ever taken the time to sit down and explore PhpStorm? Now’s your chance! We’re publishing the materials we’ve developed for the PhpStorm workshop at the PHPBenelux conference! In these materials, you’ll learn about many of the features and … Continue reading

Posted in Screencast | Tagged , , , , , , , , , | 2 Comments

[Webinar Recording] Refactoring Legacy Code with PhpStorm

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

Posted in Screencast | Tagged , , , , | 2 Comments

PHPUnit on Server changes in PhpStorm 7

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

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

Installing and Configuring XAMPP / MAMP with PhpStorm

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

Posted in Cool Feature | Tagged , , , , , | 4 Comments

Working with Phar packages in PhpStorm

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

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

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 … Continue reading

Posted in Cool Feature | Tagged , , , | 3 Comments

Creating PHPUnit Tests in PhpStorm

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

Posted in Cool Feature | Tagged , | 4 Comments