Class: Spec::Runner::Formatter::ProgressBarFormatter
Instance Method Summary
collapse
#dump_failure, #dump_summary, #initialize, #spec_started, #start
Instance Method Details
#add_context(name, first) ⇒ Object
5
6
7
8
|
# File 'lib/spec/runner/formatter/progress_bar_formatter.rb', line 5
def add_context(name, first)
@output << "\n" if first
@output.flush
end
|
#spec_failed(name, counter, failure) ⇒ Object
10
11
12
13
|
# File 'lib/spec/runner/formatter/progress_bar_formatter.rb', line 10
def spec_failed(name, counter, failure)
@output << 'F'
@output.flush
end
|
#spec_passed(name) ⇒ Object
15
16
17
18
|
# File 'lib/spec/runner/formatter/progress_bar_formatter.rb', line 15
def spec_passed(name)
@output << '.'
@output.flush
end
|
#start_dump ⇒ Object
20
21
22
23
|
# File 'lib/spec/runner/formatter/progress_bar_formatter.rb', line 20
def start_dump
@output << "\n"
@output.flush
end
|