Sha256: 3efbab65d6e7ce930380a3a49f5844eaa09653b362b5c502a1b794f6c6de055d
Contents?: true
Size: 609 Bytes
Versions: 1
Compression:
Stored size: 609 Bytes
Contents
module Korinthenkacker module Reporters class Simple def print_jobs_report(jobs) puts jobs.map(&:name) end def print_builds_report(reports) reports.map do |report| "#{report.build}\t#{report.success?}\t#{report.duration}" end.join("\n") end def print_scenario_reports(test_cases) test_cases.each { |test_case| print_scenario_report(test_case) } end private def print_scenario_report(scenario) printf("%s\t%s\t'%s'\n", scenario.build, scenario.duration, scenario.full_name) end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
korinthenkacker-0.0.2 | lib/korinthenkacker/reporters/simple.rb |