Method: Minitest.__run

Defined in:
lib/spec.rb,
lib/minitest.rb

.__run(reporter, options) ⇒ Object

Internal run method. Responsible for telling all Runnable sub-classes to run.

NOTE: this method is redefined in parallel_each.rb, which is loaded if a Runnable calls parallelize_me!.



11
12
13
14
15
# File 'lib/spec.rb', line 11

def self.__run reporter, options
  Runnable.runnables.each do |runnable|
    runnable.run reporter, options
  end
end