Method: MiniTest::Unit#run
- Defined in:
- lib/minitest/unit.rb
#run(args = []) ⇒ Object
Top level driver, controls all output and filtering.
759 760 761 762 763 764 765 766 767 768 769 770 771 772 |
# File 'lib/minitest/unit.rb', line 759 def run args = [] self. = process_args args puts "Run options: #{help}" self.class.plugins.each do |plugin| send plugin break unless report.empty? end return failures + errors if @test_count > 0 # or return nil... rescue Interrupt abort 'Interrupted' end |