| Class | Spec::Runner::Formatter::ProgressBarFormatter |
| In: |
lib/spec/runner/formatter/progress_bar_formatter.rb
|
| Parent: | BaseTextFormatter |
# File lib/spec/runner/formatter/progress_bar_formatter.rb, line 5 5: def add_behaviour(name) 6: end
# File lib/spec/runner/formatter/progress_bar_formatter.rb, line 8
8: def example_failed(name, counter, failure)
9: @output.print failure.expectation_not_met? ? red('F') : magenta('F')
10: @output.flush
11: end
# File lib/spec/runner/formatter/progress_bar_formatter.rb, line 18
18: def example_not_implemented(name)
19: @output.print yellow('*')
20: @output.flush
21: end
# File lib/spec/runner/formatter/progress_bar_formatter.rb, line 13
13: def example_passed(name)
14: @output.print green('.')
15: @output.flush
16: end