Sha256: e15531ebc4ac415eec3ea42e1eb6be0a047ee3fbfa400346949be2c9516504d3
Contents?: true
Size: 740 Bytes
Versions: 1
Compression:
Stored size: 740 Bytes
Contents
require "csv" require "rspec/core/formatters/base_formatter" module RspecLogFormatter class AnalyzerFormatter FILENAME = "rspec.history" class Factory def initialize(options={}) @options = options end def build(output) RspecLogFormatter::AnalyzerFormatter.new(output, { builds_to_analyze: nil, max_reruns: nil }.merge(@options)) end end def initialize(output, options={}) @output = output @options = options end def dump_summary(_,_,_,_) @output.puts RspecLogFormatter::Analysis::PrettyPrinter.new( RspecLogFormatter::Analysis::Analyzer.new(HistoryManager.new(FILENAME), @options).analyze ) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rspec_log_formatter-0.2.0 | lib/rspec_log_formatter/analyzer_formatter.rb |