Sha256: 09afa61104927828194cb6ad936a7eae288da3f2ce5cf761eb4eed529fb8a280
Contents?: true
Size: 532 Bytes
Versions: 16
Compression:
Stored size: 532 Bytes
Contents
require 'minitest/unit' class MiniTestUnitRunner < MiniTest::Unit def puts(*args); end def print(*args); end def status(io = output); end end class MiniTestRunner class << self def run_file(filename) forget_previous_tests MiniTest::Unit.runner = MiniTestUnitRunner.new load filename MiniTest::Unit.runner.run MiniTest::Unit.runner.report end def runner :minitest end private def forget_previous_tests MiniTest::Unit::TestCase.reset end end end
Version data entries
16 entries across 16 versions & 1 rubygems