[Cruisecontrolrb-users] Fail build on code coverage level?
Denis Haskin
denis at haskinferguson.net
Tue Apr 22 09:37:17 EDT 2008
Thanks to you both -- I'll give that a shot today.
dwh
Chad Woolley wrote:
> On Mon, Apr 21, 2008 at 1:39 PM, Bryan Noll <bwnoll at gmail.com> wrote:
>
>> Couldn't you just check in a test that runs `rcov blah ...` somewhere
>> and then parses through the results, checking for the percentage value
>> you're interested in.
>>
>> If said percentage value is less than X... assert(false, "You don't have
>> enough tests!")
>>
>
> Or run this test (or something that just raises an exception if
> coverage is low) only as part of a separate rake task, which runs
> after your rcov task (both called from default cruise task)
>
> -- Chad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/cruisecontrolrb-users/attachments/20080422/9194da19/attachment.html
More information about the Cruisecontrolrb-users
mailing list