Sha256: 86bc7e21e92c80184891fa6f6748d71ab36cf6bc066192f4d6368e42cbf3050f

Contents?: true

Size: 815 Bytes

Versions: 3

Compression:

Stored size: 815 Bytes

Contents

MetricFu::Configuration.run do |config|
  config.add_metric(:rcov)
  config.add_graph(:rcov)
  config.configure_metric(:rcov,
      { :environment => 'test',
                    :test_files => ['test/**/*_test.rb',
                                    'spec/spec_helper.rb', # NOTE: ensure it is loaded before the specs
                                    'spec/**/*_spec.rb'],
                    :rcov_opts => ["--sort coverage",
                                   "--no-html",
                                   "--text-coverage",
                                   "--no-color",
                                   "--profile",
                                   "--rails",
                                   "--exclude /gems/,/Library/,/usr/,spec"],
                    :external => nil
                  })
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
metric_fu-2.1.4.pre4 lib/metric_fu/metrics/rcov/init.rb
metric_fu-2.1.4.pre2 lib/metric_fu/metrics/rcov/init.rb
metric_fu-2.1.4.pre lib/metric_fu/metrics/rcov/init.rb