Class Spec::Runner::Formatter::ProgressBarFormatter
In: lib/spec/runner/formatter/progress_bar_formatter.rb
Parent: BaseTextFormatter

Methods

Public Instance methods

[Source]

   # File lib/spec/runner/formatter/progress_bar_formatter.rb, line 5
5:         def add_behaviour(name)
6:         end

[Source]

    # 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

[Source]

    # 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

[Source]

    # 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

[Source]

    # File lib/spec/runner/formatter/progress_bar_formatter.rb, line 23
23:         def start_dump
24:           @output.puts
25:           @output.flush
26:         end

[Validate]