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



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

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

#run_without_timingObject



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

alias :run_without_timing :run