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
test-unit-3.5.5 lib/test-unit.rb
test-unit-3.5.4 lib/test-unit.rb
tdiary-5.2.3 vendor/bundle/ruby/3.1.0/gems/test-unit-3.5.3/lib/test-unit.rb
tdiary-5.2.2 vendor/bundle/ruby/3.1.0/gems/test-unit-3.5.3/lib/test-unit.rb
tdiary-5.2.1 vendor/bundle/ruby/3.1.0/gems/test-unit-3.5.3/lib/test-unit.rb
ric-0.14.2 vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test-unit.rb
ric-0.14.1 vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test-unit.rb
ric-0.14.0 vendor/bundle/ruby/2.7.0/gems/test-unit-3.5.3/lib/test-unit.rb
test-unit-3.5.3 lib/test-unit.rb
test-unit-3.5.2 lib/test-unit.rb
tdiary-5.2.0 vendor/bundle/ruby/2.7.0/gems/test-unit-3.4.1/lib/test-unit.rb
tdiary-5.2.0 vendor/bundle/ruby/3.0.0/gems/test-unit-3.5.1/lib/test-unit.rb
test-unit-3.5.1 lib/test-unit.rb
test-unit-3.5.0 lib/test-unit.rb
test-unit-3.4.9 lib/test-unit.rb
test-unit-3.4.8 lib/test-unit.rb
test-unit-3.4.7 lib/test-unit.rb
test-unit-3.4.6 lib/test-unit.rb
test-unit-3.4.5 lib/test-unit.rb
tdiary-5.1.7 vendor/bundle/ruby/3.0.0/gems/test-unit-3.4.4/lib/test-unit.rb