模块 Test::Unit::AutoRunnerLoader

公共类方法

check(test_case, method_name) 点击切换源码
# File test-unit-3.6.7/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