Module: Test::Unit::AutoRunnerLoader

Defined in:
lib/test/unit/auto-runner-loader.rb

Class Method Summary (collapse)

Class Method Details

+ (Object) check(test_case, method_name)



8
9
10
11
12
13
# File 'lib/test/unit/auto-runner-loader.rb', line 8

def check(test_case, method_name)
  return if @loaded
  return unless TestSuiteCreator.test_method?(test_case, method_name)
  require "test/unit"
  @loaded = true
end