Sha256: 41e7c1e22f62819fa448b2820e16ea0dbfba991a7cf09e9dda05f2c3b36b217f
Contents?: true
Size: 794 Bytes
Versions: 10
Compression:
Stored size: 794 Bytes
Contents
namespace :check do namespace :yardstick do metric = Hexx::Suit::Metrics::Yardstick caller = Hexx::RSpec::System output = lambda do ENV.fetch("YARDSTICK_OUTPUT") { "tmp/yardstick/results.log" } end desc "Runs yardstick metric" task :run do puts "******* STARTING METRIC yardstick" metric.run puts "see results in #{ output.call }" puts "******* ENDING METRIC yardstick" end desc "Displays the results of yardstick last run" task :display do puts "******* DISPLAYING METRIC yardstick" metric.load caller.call "cat #{ output.call }" puts "******* ENDING METRIC yardstick" end end desc "Runs yardstick metric and displays the results" task yardstick: %w(yardstick:run yardstick:display) end
Version data entries
10 entries across 10 versions & 1 rubygems