aboutsummaryrefslogtreecommitdiffstats
path: root/lib/test/unit/testcase.rb
blob: f3d77744ebc7d4374ed26433be3c746bc68f9de9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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 run runner
        @options = runner.options
        super runner
      end

      def self.test_order
        :sorted
      end
    end
  end
end