Class: Test::Unit::AutoRunner

Inherits:
Object
  • Object
show all
Defined in:
lib/redgreen.rb

Instance Method Summary collapse

Constructor Details

#initialize(standalone) ⇒ AutoRunner

Returns a new instance of AutoRunner.



49
50
51
52
53
54
# File 'lib/redgreen.rb', line 49

def initialize(standalone)
  old_initialize(standalone)
  @runner = proc do |r|
    Test::Unit::UI::Console::RedGreenTestRunner
  end
end

Instance Method Details

#old_initializeObject



48
# File 'lib/redgreen.rb', line 48

alias :old_initialize :initialize