But then I don't know anyone that uses Ruby for non-Rails development and the two are nearly synonymous for me, I guess you might not be a Rails developer.
On Tue, Apr 22, 2008 at 4:06 PM, Tim Harding <[EMAIL PROTECTED]> wrote: > Just found this: > > "The answer is vl_cruise_control, a Rails plugin that uses rcov to enforce > a coverage target, and causes CC.rb to mark a build as failed if that target > isn't met. So in addition to regularly checking that all the tests pass, we > also check that all (or substantially all) of our code is accounted for in > our tests. " > > Here: > > http://www.viget.com/extend/tools-of-the-trade-vl-cruise-control/ > > That looks like a really nice way of doing what you want... haven't tried > it. > > On Tue, Apr 22, 2008 at 2:37 PM, Denis Haskin <[EMAIL PROTECTED]> > wrote: > > > 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 <[EMAIL PROTECTED]> <[EMAIL > > PROTECTED]> 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 > > > > > > _______________________________________________ > > Cruisecontrolrb-users mailing list > > [email protected] > > http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users > > > > >
_______________________________________________ Cruisecontrolrb-users mailing list [email protected] http://rubyforge.org/mailman/listinfo/cruisecontrolrb-users
