Closed nielsm closed 9 years ago
It appears to be looking for something in the metric_fu project's spec_helper: def mf_log(msg); mf_debug(msg); end
d'oh. try require 'metric_fu/logger`
My workaround was adding def mf_log(msg); puts(msg); end in my spec_helper. I'll try the require as well.
I apologize for missing that dependency. OTOH, thanks for trying it out. If your'e up for it, I need a PR to persist the simplecov report by date along with the metric_fu data.
In a simple ruby app, adding to spec_helper as per read me and then running the tests results in Formatter SimpleCov::Formatter::MetricFu failed with NoMethodError: undefined method
mf_log' for #<MetricFu::RCovTestCoverageClient:0x007f9aa1eba990> (/usr/local/lib/ruby/gems/1.9.1/gems/metric_fu-4.11.1/lib/metric_fu/metrics/rcov/external_client.rb:11:in
post_results')