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