Sha256: 44f679f496772f43955f36ece89da126b5fd471bbf1f541e152034c4ed6d4f35

Contents?: true

Size: 457 Bytes

Versions: 54

Compression:

Stored size: 457 Bytes

Contents

# Copyright (C) 2012-2015  Kouhei Sutou <kou@clear-code.com>

require "test/unit/warning"

module Test
  module Unit
    autoload :TestCase, "test/unit/testcase"
    autoload :AutoRunner, "test/unit/autorunner"
  end
end

unless respond_to?(:run_test, true)
  # experimental. It is for "ruby -rtest-unit -e run_test test/test_*.rb".
  # Is this API OK or dirty?
  def run_test
    self.class.send(:undef_method, :run_test)
    require "test/unit"
  end
end

Version data entries

54 entries across 47 versions & 10 rubygems

Version Path
tdiary-5.1.7 vendor/bundle/ruby/2.7.0/gems/test-unit-3.4.1/lib/test-unit.rb
test-unit-3.4.4 lib/test-unit.rb
test-unit-3.4.3 lib/test-unit.rb
test-unit-3.4.2 lib/test-unit.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.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/test-unit-3.4.0/lib/test-unit.rb
tdiary-5.1.6 vendor/bundle/ruby/3.0.0/gems/test-unit-3.4.1/lib/test-unit.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.rb
tdiary-5.1.6 vendor/bundle/ruby/2.7.0/gems/test-unit-3.4.1/lib/test-unit.rb
win32-api-1.10.1 vendor/bundle/ruby/3.0.0/gems/test-unit-3.4.1/lib/test-unit.rb
test-unit-3.4.1 lib/test-unit.rb
tdiary-5.1.5 vendor/bundle/ruby/3.0.0/gems/test-unit-3.4.0/lib/test-unit.rb
tdiary-5.1.5 vendor/bundle/ruby/2.7.0/gems/test-unit-3.4.0/lib/test-unit.rb
test-unit-3.4.0 lib/test-unit.rb