Sha256: c9ee2815aa43e262f396951fb3543afe1fdf1a2620cc1acd8a76e72cc1f8546e
Contents?: true
Size: 643 Bytes
Versions: 4
Compression:
Stored size: 643 Bytes
Contents
module Spec module Runner module Formatter class RdocFormatter < BaseTextFormatter def add_behaviour(name) @output.puts "# #{name}" end def example_passed(example) @output.puts "# * #{example.description}" @output.flush end def example_failed(example, counter, failure) @output.puts "# * #{example.description} [#{counter} - FAILED]" end def example_pending(behaviour_name, example_name, message) @output.puts "# * #{behaviour_name} #{example_name} [PENDING: #{message}]" end end end end end
Version data entries
4 entries across 4 versions & 2 rubygems