Sha256: 49211a382391adf99ba79e0e824c58fc6718e44ed5a9ea69696c8a491242f23c

Contents?: true

Size: 592 Bytes

Versions: 1

Compression:

Stored size: 592 Bytes

Contents

# commented coz Dr Nic magic works quite well for require!
# require 'test/spec/dox'

module Test::Unit::UI           # :nodoc:
  module RDox                   # :nodoc:
    class TestRunner < Test::Unit::UI::SpecDox::TestRunner
      def output_heading(heading)
        output "#{@headprefix} #{heading}"
      end
      
      def output_item(item)
        output_no_nl "* #{item}"
      end
      
      def finished(elapsed_time)
        nl
        output_result
      end

      def indent(depth)
        @prefix = ""
        @headprefix = "==" + "=" * depth
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
test-spec-0.2 lib/test-spec/test/spec/rdox.rb