class MiniTest::Unit

Public Instance Methods

_old_run_suites(suites, type)
Alias for: _run_suites
_run_suites(suites, type) click to toggle source

Runs all the suites for a given type. Runs suites declaring a test_order of :parallel in parallel, and everything else serial.

# File lib/minitest/parallel_each.rb, line 73
def _run_suites suites, type
  parallel, serial = suites.partition { |s| s.test_order == :parallel }

  ParallelEach.new(parallel).map { |suite| _run_suite suite, type } +
   serial.map { |suite| _run_suite suite, type }
end
Also aliased as: _old_run_suites