Sha256: 4cfd7f940c6aa3618d3231a166d5bb901bc2ed7e148676ba040fa8d65c559a77
Contents?: true
Size: 568 Bytes
Versions: 5
Compression:
Stored size: 568 Bytes
Contents
begin require 'metric_fu' require 'json' MetricFu::Configuration.run do |config| config.rcov = { :environment => 'test', :test_files => %w[ spec/**/*_spec.rb ], :rcov_opts => %w[ --sort coverage --no-html --text-coverage --no-color --profile --exclude spec/,^/ --include lib:spec ], } end rescue LoadError namespace :metrics do task :all do abort 'metric_fu is not available. In order to run metrics:all, you must: gem install metric_fu' end end end
Version data entries
5 entries across 5 versions & 3 rubygems