In Files

  • minitest/benchmark.rb
  • minitest/parallel_each.rb
  • minitest/unit.rb

MiniTest::Unit

Public Instance Methods

_old_run_suites(suites, type) click to toggle source
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 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

Commenting is here to help enhance the documentation. For example, code samples, or clarification of the documentation.

If you have questions about Ruby or the documentation, please post to one of the Ruby mailing lists. You will get better, faster, help that way.

If you wish to post a correction of the docs, please do so, but also file bug report so that it can be corrected for the next release. Thank you.

If you want to help improve the Ruby documentation, please see Improve the docs, or visit Documenting-ruby.org.

blog comments powered by Disqus