[Cruisecontrolrb-users] Fail build on code coverage level?
Chad Woolley
thewoolleyman at gmail.com
Mon Apr 21 21:37:55 EDT 2008
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
More information about the Cruisecontrolrb-users
mailing list