News Feed
Sections




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

Sebastian Bergmann:
Using PHPUnit from a PHP Archive (PHAR)
October 08, 2012 @ 10:18:52

PHPUnit, the popular PHP unit testing tool, has undergone some changes in its methods of deployment. First it was integrated into the Composer/Packagist dependency management system and now it's been implemented as a phar archive. Sebastian Bergmann explains how to use it in his latest post.

Downloading a single file to use PHPUnit? Not an idea that is too phar out anymore! Starting with version 3.7.5, PHPUnit seems to finally work correctly when packaged as a PHP Archive (PHAR).

He includes a list of steps you can follow to pull down the latest code and use the phar branch that executes with the archive file instead of the local "phpunit" executable. Of course, you can still (as always) install PHPUnit via the PEAR process as well.

0 comments voice your opinion now!
phpunit phar archive tutorial checkout execute


blog comments powered by Disqus

Similar Posts

Ruslan Yakushev's Blog: Multiple PHP versions on the same IIS server

PHPMaster.com: Avoid the Original MySQL Extension, Part 1

Michael Nitschinger's Blog: Using Couchbase as a flexible session store

PHPBuilder.com: Creating an RSS Aggregator with the PHP SimplePie Library

HowTo Forge: Installing Lighttpd With PHP5 And MySQL Support On Fedora 7


Community Events





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


laravel series api opinion bugfix symfony developer library framework threedevsandamaybe community language release introduction tips list zendserver interview deployment podcast

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