Sha256: 46508f3e71dbb32242ac5414a9602269804955174762d838c59269cbe589d08f
Contents?: true
Size: 526 Bytes
Versions: 8
Compression:
Stored size: 526 Bytes
Contents
require 'cucumber/formatter/rerun' require 'parallel_tests/cucumber/io' module ParallelTests module Cucumber class FailuresLogger < ::Cucumber::Formatter::Rerun include Io def initialize(runtime, path_or_io, options) @io = prepare_io(path_or_io) end def after_feature(feature) unless @lines.empty? lock_output do @lines.each do |line| @io.puts "#{feature.file}:#{line}" end end end end end end end
Version data entries
8 entries across 8 versions & 2 rubygems