Class: RailsParallel::Runner::TestRunner

Inherits:
Test::Unit::UI::Console::TestRunner
  • Object
show all
Defined in:
lib/rails_parallel/runner/test_runner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(suite, output_level = Test::Unit::UI::PROGRESS_ONLY) ⇒ TestRunner

Returns a new instance of TestRunner.



8
9
10
# File 'lib/rails_parallel/runner/test_runner.rb', line 8

def initialize(suite, output_level = Test::Unit::UI::PROGRESS_ONLY)
  super(suite, output_level)
end

Instance Attribute Details

#faultsObject

Returns the value of attribute faults.



6
7
8
# File 'lib/rails_parallel/runner/test_runner.rb', line 6

def faults
  @faults
end

#resultObject

Returns the value of attribute result.



6
7
8
# File 'lib/rails_parallel/runner/test_runner.rb', line 6

def result
  @result
end

Instance Method Details

#output_report(elapsed) ⇒ Object



12
13
14
# File 'lib/rails_parallel/runner/test_runner.rb', line 12

def output_report(elapsed)
  finished(elapsed)
end