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(example, counter, failure)
 9:           @output.print colourise('F', failure)
10:           @output.flush
11:         end

[Source]

    # File lib/spec/runner/formatter/progress_bar_formatter.rb, line 13
13:         def example_passed(example)
14:           @output.print green('.')
15:           @output.flush
16:         end

[Source]

    # File lib/spec/runner/formatter/progress_bar_formatter.rb, line 18
18:         def example_pending(behaviour_name, example_name, message)
19:           super
20:           @output.print yellow('P')
21:           @output.flush
22:         end

[Source]

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

[Validate]