Continuous Integration for Rails Just Got A Whole Lot Easier
Listen to this article
If you already have a continuous integration (ie build) server (such as Pulse, Bamboo, Hudson, or even the venerable old CruiseControl) and you've been trying to include some of your Rails applications then your life just got a whole lot easier.
Enter CI::Reporter. To quote the documentation:
...an add-on to Test::Unit and RSpec that allows you to generate XML reports of your test and/or spec runs. The resulting files can be read by a continuous integration system that understands Ant‘s JUnit report XML format, thus allowing your CI system to track test/spec successes and failures.
So, I simply installed the gem on the build-server and the plugin into my plugins project, configured the build to slurp up the generated XML files and voila! I now get build notifications letting me know how many tests passed and which ones failed.
Thanks Nick!
Comments
There's also a Ruby version of CruiseControl for effortless continuous integration of your Rails applications.
http://cruisecontrolrb.thoughtworks.com/
Posted by: Ben | March 17, 2007 10:04 AM
Indeed. I guess my point was really that for those of us who run mixed language environments and already have established CI environments, integrating rails is now pretty easy.
Posted by: Simon Harris
|
March 17, 2007 10:09 AM
There is also http://cerberus.rubyforge.org/
We are using it at tractis.com and it has been working like a charm for 2 months.
Thanks Ben, for mentionnning cruisecontrolrb, I was using it for java and it was a cool tool
I guess Thoughtworks will have released a enterprise-ready version!
Posted by: 21croissants | March 20, 2007 10:23 PM