symfonyUnderControl: lime integration with phpUnderControl

phpUnderControl is a continuous integration setup for automatically running certain tasks on a project such as testing, documentation building, code sniffing and more. It is based on CruiseControl and uses PHPUnit by default. The default symfony unit testing framework is not PHPUnit, so it was time to enable continuous integration for that.

There is a plugin for symfony that enables phpUnit testing for symfony projects. However, this plugin used to be in limbo for quite a while. Besides, even though I see the power of phpUnit and have worked with it on several occassions, I personally prefer the more minimalistic approach of lime for unit testing.

From the first moment I was introduced to the concept of continuous integration I have been really interested in this. I've been playing with several packages for CI and set them up for fun. One thing that kept bothering me was that I could not test my own symfony projects with it. 

I started working on the symfonyUnderControlPlugin a few months ago, and quickly had a working proof of concept. It wasn't perfect, but it did the job: It outputted xUnit XML to the logs directory of phpUnderControl based on the test results of my unit and functional tests. However, this setup was far from perfect. Time constraints kept me from spending more time on it at that point though.

Recently, inside Ibuildings, a new program was launched. This program enables Ibuildings employees to get allocated a certain amount of time to work on Open Source software. I've sent in a proposal to enable me to further work on the symfonyUnderControlPlugin and this was approved! So, last week, I started working on rewriting the plugin to have a better setup and after not even having spent half of my allocated time, I've already come to a point where I was able to generate more than the XML my Proof of Concept was generating. I've now released this as a first alpha preview release with release number 0.0.1

So, thanks to Ibuildings, symfony/lime users can now start trying to integrate their projects with phpUnderControl continuous integration. Keep in mind that this is not production-ready yet, it's a first alpha release. But I appreciate any feedback I can get on this version: bugs, feature requests, comments, questions. Everything is welcome.


Add comment

Comments

gravatar bascht: Sweet!
You cannot imagine how intensely i was monitoring every of your tweets - I even got a google alert running for "+symfony +phpUnderControl" 8)

Happy to hear that you've released it to the plugin repo.
Means that tomorrow my first task at the office is to give it a try. :)
February 9, 2009
gravatar denderello: Great work Stefan! I'm really looking forward to give the plugin a try.

February 9, 2009
gravatar Eric: Is this dead? Looks really promising and is exactly what I was looking for.
November 12, 2009

Php5_zce_logo

not tested in IE


Upcoming events

I will be attending 17-04-2010: Pfcongres

Tags

1337 2008 2010 4developers accessibility AdaLovelaceDay09 advent agavi agile amsterdam apache apple article articles atk atkMetaNode audioscrobbler backwards compatibility barcelona bbc bbq beatstad belgium best practices bittorrent book books bughuntday caching cake cal evans cat cerf certificate cfp clear cms cologne common sense community conference conferences continuous integration crisis css custom datetime DbFinderPlugin decorator decorators deployment devdays development directoryindex documentation download dpc dpc09 DPC2008 dreamhost dv7 eclipse ed efficiency enterprise event events expertise ezcomponents facebook flickr framework frameworks freeze frontend fun games germany getting real google googletalk graceful degradation hack hackers hidden gem hiphop howto hp html http ibuildings icann ide imovie indy internet IPC ipc ipc08 javascript jobeet john peel joomla kubuntu left on the web lighttpd lime linux live london loudblog m2ts mac malware mambo marjolein meeting meme meta methodology microsoft movie music mysql namespace namespaces netbeans netherlands nllgg odmarco open source opinion ORM osx paradiso pavilion pear performance personal pfcongrez photo php phpabstract phpBB phpbb phpbelgium phpbenelux phpbnl10 phpgg phpitalia phpnw phpnw08 phptek phptek09 phpuk2009 phpUnderControl phpunit php|architect php|tek podcast politics portability postcrossing presentation presentations public qa recruiting refactoring review rewrite ruby on rails schedule script security seven things sfdaycgn simplexml slides smfony software sogeti solar sound standard standards static steer strings subversion symfony symfonycamp symfonyday symfonyUnderControlPlugin talk talks technology techportal tek09 telecommuting terratec terrorism testfest testing textpattern tips tld tomas unet usability usergroup validation vhost video vinyl virus warp weblogging wiki women work world world of warcraft writing xml xpath xsd yara year youtube ZCE zemanta zend zend framework zend server zend studio Zend_Form
© 2004 - 2010 Stefan Koopmanschap + Powered by Symfony, photos powered by Flickr, links powered by Delicious, Shanghai smilies by Iconbuffet. Feeds: rss / atom. Left on the Web v4.4.0.1