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
es_cli-0.1.0 vendor/bundle/ruby/3.1.0/gems/test-unit-3.6.7/lib/test-unit.rb
test-unit-3.6.7 lib/test-unit.rb
test-unit-3.6.6 lib/test-unit.rb
test-unit-3.6.5 lib/test-unit.rb
test-unit-3.6.4 lib/test-unit.rb
test-unit-3.6.3 lib/test-unit.rb
fluent-plugin-nuopenlineage-light-0.1.0 vendor/bundle/ruby/3.3.0/gems/test-unit-3.6.2/lib/test-unit.rb
fluent-plugin-openlineage-light-0.1.4 vendor/bundle/ruby/3.3.0/gems/test-unit-3.6.2/lib/test-unit.rb
fluent-plugin-openlineage-light-0.1.3 vendor/bundle/ruby/3.3.0/gems/test-unit-3.6.2/lib/test-unit.rb
fluent-plugin-openlineage-0.1.0 vendor/bundle/ruby/3.3.0/gems/test-unit-3.6.2/lib/test-unit.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/test-unit-3.6.2/lib/test-unit.rb
test-unit-3.6.2 lib/test-unit.rb
test-unit-3.6.1 lib/test-unit.rb
test-unit-3.6.0 lib/test-unit.rb
test-unit-3.5.9 lib/test-unit.rb
test-unit-3.5.8 lib/test-unit.rb
fluent-plugin-google-cloud-logging-on-prem-0.1.0 vendor/ruby/3.1.0/gems/test-unit-3.5.7/lib/test-unit.rb
test-unit-3.5.7 lib/test-unit.rb
test-unit-3.5.6 lib/test-unit.rb
tdiary-5.2.4 vendor/bundle/ruby/3.1.0/gems/test-unit-3.5.5/lib/test-unit.rb