News Feed
Sections




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

Community News:
PHPUnit Now Available via Composer
September 19, 2012 @ 10:52:23

In case you missed the tweet where it was mentioned, thanks to some work from Clay Loveless, the popular PHP unit testing tool, PHPUnit, can now be installed via Composer.

Thanks to this pull request on the project, adding PHPUnit to your project (and its dependencies) are a few simple commands away:

The package-composer.json file, coupled with package.xml and the package2composer script that is part of the Conductor package at http://pear.claylo.com/ is all that is needed to update the composer.json file. Simply run package2composer in the top level of the checkout to regenerate composer.json to reflect changes made to package.xml

If you're not using PHPUnit to test your code currently, you can find out more about it and its use in the current manual.

0 comments voice your opinion now!
phpunit composer update package install


blog comments powered by Disqus

Similar Posts

Matthew Turland's Blog: Building PHP-GTK with Cairo Support on Ubuntu Jaunty

Sebastian Bergmann's Blog: Sharing Fixtures and Stubbing/Mocking Static Methods

Zend Developer Zone: PHP and RIA (Presentation Update)

Jachim Coudenys: Using multiple databases in phpunit/dbunit with Composer

Chris Shiflett\'s Blog: JApacheCon (Power PHP Testing talk)


Community Events





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


release podcast tips framework install library series community zendserver symfony opinion interview deployment introduction list api update laravel language package

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