Sha256: d1efaa31583cee2a19f4217680582f5008612d6ae5e4b60de6ab290c7bc1f972

Contents?: true

Size: 378 Bytes

Versions: 74

Compression:

Stored size: 378 Bytes

Contents

require 'parallel_tests/rspec/failures_logger'

class ParallelTests::RSpec::SummaryLogger < ParallelTests::RSpec::LoggerBase
  # RSpec 1: dumps 1 failed spec
  def dump_failure(*args)
    lock_output do
      super
    end
    @output.flush
  end

  # RSpec 2: dumps all failed specs
  def dump_failures(*args)
    lock_output do
      super
    end
    @output.flush
  end
end

Version data entries

74 entries across 74 versions & 3 rubygems

Version Path
parallel_tests-0.16.17 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.16 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.15 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.14 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.13 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.12 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.11 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.10 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.9 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.8 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.7 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.6 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.5 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.4 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.3 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.2 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.1 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.16.0 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.15.4 lib/parallel_tests/rspec/summary_logger.rb
parallel_tests-0.15.3 lib/parallel_tests/rspec/summary_logger.rb