[Cruisecontrolrb-users] Fail build on code coverage level?

Denis Haskin denis at haskinferguson.net
Mon Apr 21 16:32:50 EDT 2008


I've got rcov_rails as part of my continuous integration build, mainly 
thanks to [1] (edited it slightly to add a dependency db:test:prepare as 
the cruisecontrol.rb doc suggests.

Can someone point me in the right direction to what I should do to make 
the code coverage level a criteria for a successful build?  E.g. if code 
coverage is < 80% (or maybe even <80% for a given source file) then the 
build should fail; otherwise succeed (assuming the build+test itself 
suceed).

Thoughts?

Thanks -- dwh

[1] 
http://deadprogrammersociety.blogspot.com/2007/06/cruisecontrolrb-and-rcov-are-so-good.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080421/dcdfded6/attachment.html 


More information about the Cruisecontrolrb-users mailing list