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

DevArticles: Learning AJAX

PHPEasy.co.uk: Sorting array data using SplMaxHeap

System Architect: Integrate PHP application with Solr search engine

Sebastian Bergmann's Blog: Using CLANG/scan-build for Static Analysis of the PHP Interpreter

DevShed: Paginating Blog Entries with Code Igniter


Community Events

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


php7 video example framework security unittest language introduction library opinion laravel5 series podcast community version laravel api release interview voicesoftheelephpant

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