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

Test.ical.ly Blog: Wrapping symfonys functional tests in a PHPUnit test case

Developer Tutorials Blog: Parallel web scraping in PHP: cURL multi functions

Evan Coury: Creating a simple view helper in Zend Framework 2

ProDevTips Blog: Fluent Arrays and Strings in PHP

Padraic Brady's Blog: Unit Testing: Multiple Assertions And Lazy/Shallow Testing Are Evil


Community Events

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


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

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