Module: Minitest
- Defined in:
- activesupport/lib/active_support/test_case.rb
Overview
:nodoc:
Class Method Summary collapse
-
.__run(reporter, options) ⇒ Object
:nodoc:.
Class Method Details
.__run(reporter, options) ⇒ Object
:nodoc:
23 24 25 26 27 28 29 30 31 32 |
# File 'activesupport/lib/active_support/test_case.rb', line 23 def self.__run reporter, # :nodoc: # FIXME: MT5's runnables is not ordered. This is needed because # we have have tests have cross-class order-dependent bugs. suites = Runnable.runnables.sort_by { |ts| ts.name.to_s } parallel, serial = suites.partition { |s| s.test_order == :parallel } ParallelEach.new(parallel).map { |suite| suite.run reporter, } + serial.map { |suite| suite.run reporter, } end |