Class: Spec::Runner::Formatter::FailingExamplesFormatter

Inherits:
BaseTextFormatter show all
Defined in:
lib/gems/rspec-1.1.12/lib/spec/runner/formatter/failing_examples_formatter.rb

Instance Attribute Summary

Attributes inherited from BaseTextFormatter

#output, #pending_examples

Attributes inherited from BaseFormatter

#example_group, #options, #where

Instance Method Summary collapse

Methods inherited from BaseTextFormatter

#close, #colourise, #dump_pending, #example_pending, #format_backtrace, #initialize

Methods inherited from BaseFormatter

#add_example_group, #close, #dump_pending, #example_passed, #example_pending, #example_started, #initialize, #start, #start_dump

Constructor Details

This class inherits a constructor from Spec::Runner::Formatter::BaseTextFormatter

Instance Method Details

#dump_failure(counter, failure) ⇒ Object



12
13
# File 'lib/gems/rspec-1.1.12/lib/spec/runner/formatter/failing_examples_formatter.rb', line 12

def dump_failure(counter, failure)
end

#dump_summary(duration, example_count, failure_count, pending_count) ⇒ Object



15
16
# File 'lib/gems/rspec-1.1.12/lib/spec/runner/formatter/failing_examples_formatter.rb', line 15

def dump_summary(duration, example_count, failure_count, pending_count)
end

#example_failed(example, counter, failure) ⇒ Object



7
8
9
10
# File 'lib/gems/rspec-1.1.12/lib/spec/runner/formatter/failing_examples_formatter.rb', line 7

def example_failed(example, counter, failure)
  @output.puts "#{example_group.description} #{example.description}"
  @output.flush
end