Class: Test::Unit::TestSuite

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

Constant Summary collapse

@@timing_installed =
true

Instance Method Summary collapse

Instance Method Details

#run(result, &progress_block) ⇒ Object



84
85
86
87
88
89
# File 'lib/parallel_tests/test/runtime_logger.rb', line 84

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

#run_without_timingObject



82
# File 'lib/parallel_tests/test/runtime_logger.rb', line 82

alias :run_without_timing :run