Setting up continuous integration for PHP using Hudson and Phing

Updated 2 months, 1 week ago

Source: http://www.davegardner.me.uk/

In this, my first post, I’m going to write about the benefits of Unit Testing and how Continuous Integration (CI) can be used to get the best out of Unit Testing. This will include details of how I setup a CI system using Hudson CI server, Phing build tool combined with various other analysis tools (including PHP Unit).

One of the best explanations of Unit Testing I’ve read was posted by benzado on Stack Overflow.

Unit testing is a lot like going to the gym. You know ...

  • 24 comments on this story
PRO

50% positive

Showing 12 relevant reactions out of 24.

Gautam Guliani 2 months, 1 week ago on Friendfeed

Setting up continuous integration for PHP using Hudson and Phing « Dave Gardner – PHP Developer - http://www.davegardner.me.uk/blog...

Reply

krolow 2 months, 4 weeks ago on Twitter

nice post about continuous integration for #PHP http://tinyurl.com/y8rm2wo

Reply

krolow 2 months, 4 weeks ago on Twitter

nice post about continuous integrate for php http://tinyurl.com/y8rm2wo

Reply

Dave 3 months ago on Wordpress

Thanks for the suggestion Rehan.

I understand your problems with package managers. I quite like them because I think it makes my life simpler.

Reply

adriankb 3 months ago on Twitter

An in-depth how to on setting up a complete Continuous Integration solution for PHP on Hudson: http://TwitPWR.com/wZd/

Reply

CalEvans 3 months ago on Twitter

http://bit.ly/1dNzAL Excellent blog post on setting up #ci with #php, phing and Hudson. #goodStuff

Reply

whocoulddizbe 3 months ago on Twitter

This might be smart. I'll test it tomorrow 1st thing in the morning. http://is.gd/4S5SJ ( for the developer in you :)) )

Reply

Rehan 3 months ago on Wordpress

Here is a platform neutral way of installing the required JRE (I don’t think you need the JDK…). I also don’t like using the Linux package managers because of 1) outdated packages and 2) it installs files everywhere.

Goto http://www.java.com/en/download/manual.jsp, find your relevant download. It’ll be one of the “self-extracting” files.

Use wget
... See all content

Reply

ramon 3 months ago on Wordpress

man, that is so cool

Reply

uberVU - social comments 3 months ago on Wordpress

Social comments and analytics for this post…

This post was mentioned on Twitter by davegardnerisme: Setting up Continuous Integration for PHP with Hudson and Phing. http://is.gd/4QUTo #php (my first blog post!)…

Reply

davegardnerisme 3 months ago on Twitter

Comments should be fixed on my blog now. Thanks @fedecarg http://bit.ly/gcJo8

Reply

Dave 3 months ago on Wordpress

Test

Reply

© uberVU Ltd. 2010

Terms of use