Class: Spec::Runner::Formatter::FailingExamplesFormatter
Instance Attribute Summary
#dry_run
Instance Method Summary
collapse
#close, #colour=, #colourise, #dump_pending, #example_pending, #format_backtrace, #initialize
#close, #dump_pending, #example_passed, #example_pending, #example_started, #initialize, #start, #start_dump
Instance Method Details
#add_behaviour(behaviour_name) ⇒ Object
5
6
7
|
# File 'lib/spec/runner/formatter/failing_examples_formatter.rb', line 5
def add_behaviour(behaviour_name)
@behaviour_name = behaviour_name
end
|
#dump_failure(counter, failure) ⇒ Object
14
15
|
# File 'lib/spec/runner/formatter/failing_examples_formatter.rb', line 14
def dump_failure(counter, failure)
end
|
#dump_summary(duration, example_count, failure_count, pending_count) ⇒ Object
17
18
|
# File 'lib/spec/runner/formatter/failing_examples_formatter.rb', line 17
def dump_summary(duration, example_count, failure_count, pending_count)
end
|
#example_failed(example, counter, failure) ⇒ Object
9
10
11
12
|
# File 'lib/spec/runner/formatter/failing_examples_formatter.rb', line 9
def example_failed(example, counter, failure)
@output.puts "#{@behaviour_name} #{example.description}"
@output.flush
end
|