Class: Test::Unit::TestSuite

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

Constant Summary collapse

@@timing_installed =
true

Instance Method Summary collapse

Instance Method Details

#run(result, &progress_block) ⇒ Object



70
71
72
73
74
75
# File 'lib/parallel_tests/runtime_logger.rb', line 70

def run(result, &progress_block)
  start_time=Time.now
  run_without_timing(result, &progress_block)
  end_time=Time.now
  ParallelTests::RuntimeLogger.log(self.tests.first, start_time, end_time)
end

#run_without_timingObject



68
# File 'lib/parallel_tests/runtime_logger.rb', line 68

alias :run_without_timing :run