It was just a few days ago I was talking to some guys on how to setup their development environment, how to apply some good development practices, setting up the build system, automation and so... Our focus was on testing and mostly TDD then the next day I came into this crazy idea on Aslak's blog and a tool called Guantanamo.
The idea is to remove any untested code on building process. The tool can be exposed as ANT task to do the job! Frankly, all I've ever used, have been reporting tools such as Clover to give me an estimation on where I'm going, and they didn't touch my code because of untestablity! Really don't know how I would feel if I miss 20% (or any X percent) of my code in the software bundle becasue I've been lazy to not go for full test coverage? :D But after all, I like the idea!
How do you see this?
Armond
Posted by armond at October 7, 2004 06:34 PMThis tool definitely embodies the spirit of extreme programming to it's max. Idealistically it's great, realistically, perhaps not. The effectiveness of this tool depends on how committed your team is to the beliefs of unit testing. Any hesitations about going all the way with testing is a clear sign that Guantanamo is not for you.
If everyone is on board to truly practice TDD than this tool would definitely help push the team. The question that needs to be answered by everyone on the team is, "Just how test infected are you?".
Posted by: ahui at October 7, 2004 07:41 PMAhui,
Thanks for your comment... Yes, you're right. It depends on how much the team is on real TDD. But after all, it would be great if I could somehow configure that tool to drop my untested codes JUST IN CASE the total test coverage was under a certain percentage. Maybe having it at the maximum annoys many teams even those real good ones.
After all, these are all on paper... I should give it a real try then I may come completely on your side :-)
Cheers,
Posted by: Armond Avanes at October 7, 2004 08:37 PM