Class Spec::Runner::Formatter::RdocFormatter
In: lib/spec/runner/formatter/rdoc_formatter.rb
Parent: BaseTextFormatter

Methods

Public Instance methods

[Source]

   # File lib/spec/runner/formatter/rdoc_formatter.rb, line 5
5:         def add_behaviour(name)
6:           @output.puts "# #{name}"
7:         end

[Source]

    # File lib/spec/runner/formatter/rdoc_formatter.rb, line 14
14:         def example_failed(example, counter, failure)
15:           @output.puts "# * #{example.description} [#{counter} - FAILED]"
16:         end

[Source]

    # File lib/spec/runner/formatter/rdoc_formatter.rb, line 9
 9:         def example_passed(example)
10:           @output.puts "# * #{example.description}"
11:           @output.flush
12:         end

[Source]

    # File lib/spec/runner/formatter/rdoc_formatter.rb, line 18
18:         def example_pending(behaviour_name, example_name, message)
19:           @output.puts "# * #{behaviour_name} #{example_name} [PENDING: #{message}]"
20:         end

[Validate]