Archive for the ‘programming’ category

Hudson, Sonar & Ruby: Continuous integration of a Rails app

April 15th, 2009

I’m currently playing (well battling at times – VMWare can be an arse at times – or maybe i’ve been away for too long) with plugging a rails app into Hudson and Sonar.

My intention is to have the Rails app on a separate server from the Hudson server and have the Rails app return Hudson-friendly XML from RSpec and Cucumber tests. When i get this to work, it’ll enable me to roll this out at work, with a central Hudson server (perhaps) that interacts with multiple app servers of various technologies and, along with the wonders of Sonar, gives a view into code test coverage, pass rate and complexity. I feel that i might struggle convincing Sonar to play with Ruby, but we’ll see.

Why Hudson?

To be completely honest, at work, i didn’t make that decision and am yet to chase down exactly why it was chosen over CruiseControl, but I completely trust those that made the decision on their project. I’m a big believer in standardising and am as such following suit and trying out Hudson.

Furthering the quest to *get* agile

April 15th, 2009

My academic learning focus has been a bit off recently, what with the amount of work i’ve had on. But, no excuses – my quest to grasp the academic history of agile delivery is taking steps forward, with my digging into DSDM. I’ve decided to focus on DSDM due to its UK-centricity, which I feel will have the greatest short term impact. I’ll get to SCRUM, XP, RUP, et al when i get to them.

I started the quest ages ago and have progressed it, but more in practice than in reading. Now’s the time for the reading to pick up again…

What is a DSL?

April 15th, 2009

I tweeted a link to this url, but didn’t blog it. I should have, so here it is:

What is a DSL?

It got me all excited so i’ve started (slowly, i’ll admit) to write my own DSL in Ruby. I’ll post how i get on.