Sha256: ca597d471e3c36652a4e9541490ae3cd8b00eafe717971c69cec0a3b4e8533df
Contents?: true
Size: 680 Bytes
Versions: 10
Compression:
Stored size: 680 Bytes
Contents
namespace :check do namespace :fu do metric = Hexx::Suit::Metrics::MetricFu caller = Hexx::RSpec::System output = -> { ENV.fetch("METRIC_FU_OUTPUT") { "tmp/metric_fu/output" } } # configures the metrics task :configure do metric.load end desc "Runs metric_fu" task run: :configure do caller.call "metric_fu --no-open --out #{ output.call }" puts "see results in #{ output.call }" end desc "Displays results of metric_fu last run" task display: :configure do caller.call "metric_fu --open --out #{ output.call }" end end desc "Runs metric_fu and displays the results" task fu: %w(fu:display) end
Version data entries
10 entries across 10 versions & 1 rubygems