Yep. I've done that before at it works well. By using metric_fu I was just hoping to get the rcov output formatted nicely like the rest of my metric_fu reports, included in the metric_fu report index, and given pretty graphs. Those features certainly aren't as important to me as the basic thresholding stuff.
Craig On Tue, Apr 13, 2010 at 11:54 AM, Nicholas Faiz <[email protected]>wrote: > Yes - the rcov task I'm using is > > rake specenvironment:rcov > > Quite a mouthful. You can also create your own easily enough. > > desc "rcov on rspec" > Spec::Rake::SpecTask.new('rcov') do |t| > t.spec_files = FileList["spec/**/*.rb"] > t.rcov = true > t.rcov_opts = ['--exclude', 'spec'] > end > > Again, all of this was gained from quickly glancing at existing > documentation. It "just worked" for me, so it sounds like metric_fu > might have a specific approach. > > Cheers, > N. > > -- You received this message because you are subscribed to the Google Groups "Ruby or Rails Oceania" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rails-oceania?hl=en.
