Class: Test::Unit::TestProcessRunContext

Inherits:
TestRunContext show all
Defined in:
lib/test/unit/test-process-run-context.rb

Instance Attribute Summary collapse

Attributes inherited from TestRunContext

#runner_class

Instance Method Summary collapse

Constructor Details

#initialize(runner_class) ⇒ TestProcessRunContext

Returns a new instance of TestProcessRunContext.



14
15
16
17
18
# File 'lib/test/unit/test-process-run-context.rb', line 14

def initialize(runner_class)
  super(runner_class)
  @test_names = []
  @progress_block = nil
end

Instance Attribute Details

#progress_blockObject

Returns the value of attribute progress_block.



13
14
15
# File 'lib/test/unit/test-process-run-context.rb', line 13

def progress_block
  @progress_block
end

#test_namesObject (readonly)

Returns the value of attribute test_names.



12
13
14
# File 'lib/test/unit/test-process-run-context.rb', line 12

def test_names
  @test_names
end