зеркало из https://github.com/github/ruby.git
26 строки
433 B
Ruby
26 строки
433 B
Ruby
require 'test/unit/assertions'
|
|
|
|
module Test
|
|
module Unit
|
|
# remove silly TestCase class
|
|
remove_const(:TestCase) if defined?(self::TestCase)
|
|
|
|
class TestCase < MiniTest::Unit::TestCase
|
|
include Assertions
|
|
|
|
def on_parallel_worker?
|
|
false
|
|
end
|
|
|
|
def run runner
|
|
@options = runner.options
|
|
super runner
|
|
end
|
|
|
|
def self.test_order
|
|
:sorted
|
|
end
|
|
end
|
|
end
|
|
end
|