class Test::Unit::UI::Console::TestRunner

Public Instance Methods

org_test_finished(name)
Alias for: test_finished
org_test_started(name)
Alias for: test_started
test_finished(name) click to toggle source
# File vendor/qwik/lib/qwik/testunit.rb, line 26
def test_finished(name)
  output_single('.', PROGRESS_ONLY) unless @displayed
  elapsed_time = Time.now - $test_unit_start_time
  str = sprintf(' (%0.02f)', elapsed_time)
  output_single(str, VERBOSE) unless @displayed
  nl(VERBOSE)
  @displayed = false
end
Also aliased as: org_test_finished
test_started(name) click to toggle source
# File vendor/qwik/lib/qwik/testunit.rb, line 20
def test_started(name)
  output_single("#{name}: ", VERBOSE)
  $test_unit_start_time = Time.now
end
Also aliased as: org_test_started