Sha256: 40deeb8273e9c4a60e40f442aaab9203cf922a16af923b091fcc6ad19a2095ef

Contents?: true

Size: 379 Bytes

Versions: 155

Compression:

Stored size: 379 Bytes

Contents

require "test/unit/test-suite-creator"

module Test
  module Unit
    module AutoRunnerLoader
      @loaded = false
      class << self
        def check(test_case, method_name)
          return if @loaded
          return unless TestSuiteCreator.test_method?(test_case, method_name)
          require "test/unit"
          @loaded = true
        end
      end
    end
  end
end

Version data entries

155 entries across 124 versions & 17 rubygems

Version Path
test-unit-3.5.1 lib/test/unit/auto-runner-loader.rb
test-unit-3.5.0 lib/test/unit/auto-runner-loader.rb
test-unit-3.4.9 lib/test/unit/auto-runner-loader.rb
test-unit-3.4.8 lib/test/unit/auto-runner-loader.rb
test-unit-3.4.7 lib/test/unit/auto-runner-loader.rb
test-unit-3.4.6 lib/test/unit/auto-runner-loader.rb
test-unit-3.4.5 lib/test/unit/auto-runner-loader.rb
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/test-unit-3.4.1/lib/test/unit/auto-runner-loader.rb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/test-unit-3.4.4/lib/test/unit/auto-runner-loader.rb
test-unit-3.4.4 lib/test/unit/auto-runner-loader.rb
test-unit-3.4.3 lib/test/unit/auto-runner-loader.rb
test-unit-3.4.2 lib/test/unit/auto-runner-loader.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/test-unit-3.4.0/lib/test/unit/auto-runner-loader.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/tdiary-5.1.4/vendor/bundle/ruby/2.7.0/gems/test-unit-3.3.7/lib/test/unit/auto-runner-loader.rb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/test-unit-3.4.1/lib/test/unit/auto-runner-loader.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/test-unit-3.4.1/lib/test/unit/auto-runner-loader.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/test-unit-3.4.0/lib/test/unit/auto-runner-loader.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/test-unit-3.3.8/lib/test/unit/auto-runner-loader.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/2.7.0/gems/test-unit-3.4.0/lib/test/unit/auto-runner-loader.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/tdiary-5.1.5/vendor/bundle/ruby/3.0.0/gems/test-unit-3.3.7/lib/test/unit/auto-runner-loader.rb