Sha256: dc0409d1b5ae22acf41d570c1e101a4a1b0923fc61f7dfd1c4b5a758a80495ab
Contents?: true
Size: 428 Bytes
Versions: 16
Compression:
Stored size: 428 Bytes
Contents
# Copyright (C) 2012-2015 Kouhei Sutou <kou@clear-code.com> 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
16 entries across 12 versions & 4 rubygems