News Feed
Sections




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

Till Klampaeckel's Blog:
Cooking PHPUnit (and a chef-solo example on top)
December 05, 2011 @ 11:48:48

Till Klampaeckel has a new post to his blog combining two powerful technologies into one automated package that uses a Chef recipe to install PHPUnit as a part of the setup.

If you follow my blog for a while, you might have noticed that I'm a huge fan of automation. I just moved one of our development servers the other day and had one of these moments where something just paid off. Taking for granted that I can spin up fully operational EC2 instances in minutes, I also had our development stack installed and configured in an instant. My recipe basically follows Christer's instructions and because I distribute phpunit's command along with it, editing of the file is no longer required: when the chef run completes, phpunit34 is installed and ready to be used.

He includes the configuration needed to create a recipe for PHPUnit installation including how to use chef-solo to automate the install. It uses a "cookbook" from Till's collection on github to do some of the work for you. You can find out more about Chef on the OpsCode site.

0 comments voice your opinion now!
phpunit chef automate install tutorial


blog comments powered by Disqus

Similar Posts

DevShed: PHP Closures as View Helpers: Lazy-Loading File Data

Phish Tank: Install & Configure Apache+PHP+ZendFramework+OracleDbXe On Windows In Minutes

DZone.com: PHPUnit vs. Phake cheatsheet

PHPMaster.com: Practical Aspects of the Adapter Pattern

PHPMaster.com: Convert HTML to PDF with Dompdf


Community Events

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


voicesoftheelephpant unittest example library laravel5 framework api language opinion install laravel xdebug interview series podcast extension release community introduction php7

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