News Feed
Jobs Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Dutch Web Alliance:
The definitive remote debug and unittest with PHPStorm guide part 4
December 20, 2013 @ 09:52:28

The Dutch Web Alliance has posted the fourth part of their series looking at remote debugging with PHPStorm. If you want to start from the beginning, you can find the first part of the series here (along with a table of contents for the other parts).

Unit testing should play a pretty big part in your daily PHP work. With the help of PHPUnit, writing and executing those tests is fairly simple. But in a remote environment we run into some issues which we try to solve in this blogpost. I'm not going to tell you the basics of unit-testing, as we assume you already are familiar with this. If not, There are lots of blog posts on this subject.

With some tests already in place, they show you how to get PHPStorm all set up and working. First they talk some about how the IDE makes its connection to the remote server via a "proxy" script. There's a few problems with this method, so they show a different approach using the "PHP on Server" configuration setting. They walk you through the setup of this feature (with screenshots) and how to "trick" it using a dummy phpunit.xml file.

0 comments voice your opinion now!
unittest phpstorm series remote debug guide part4

Link: http://dutchweballiance.nl/techblog/the-definitive-remote-debug-and-unittest-with-phpstorm-guide-part-4/

blog comments powered by Disqus

Similar Posts

Codeception: Codeception released with CodeCoverage support

Christer Edvartsen's Blog: Running Multiple Versions of PHPUnit

Alexander Netkachev's Blog: Automatic testing of MVC applications created with Zend Framework

SitePoint PHP Blog: Build Virtual Machines Easily with PuPHPet Part 2

SitePoint PHP Blog: Debug PHP with Firebug and FirePHP


Community Events











Don't see your event here?
Let us know!


symfony2 composer language package overview code example introduction facebook security component series podcast install hack release application unittest hhvm framework

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework