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.



35
36
37
38
39
40
# File 'lib/redgreen.rb', line 35

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

Instance Method Details

#old_initializeObject



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

alias :old_initialize :initialize