Class: Spec::Runner::Formatter::FailingExamplesFormatter
- Inherits:
-
BaseTextFormatter
- Object
- BaseFormatter
- BaseTextFormatter
- Spec::Runner::Formatter::FailingExamplesFormatter
- Defined in:
- lib/vendor/plugins/rspec/lib/spec/runner/formatter/failing_examples_formatter.rb
Instance Attribute Summary
Attributes inherited from BaseTextFormatter
Instance Method Summary collapse
- #dump_failure(counter, failure) ⇒ Object
- #dump_summary(duration, example_count, failure_count, pending_count) ⇒ Object
- #example_failed(example, counter, failure) ⇒ Object
Methods inherited from BaseTextFormatter
#close, #colorize_failure, #colourise, #dump_pending, #example_group_started, #example_pending, #format_backtrace, #initialize
Methods inherited from BaseFormatter
#add_example_group, #close, #dump_pending, #example_group_started, #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/vendor/plugins/rspec/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/vendor/plugins/rspec/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/vendor/plugins/rspec/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 |