Test::Unit::AutoRunner (Class)

In: test/unit/autorunner.rb
Parent: Object

Methods

run  

Constants

RUNNERS = { :console => proc do |r| require 'test/unit/ui/console/testrunner'

Public Class methods

[Source]

# File test/unit/autorunner.rb, line 7
      def self.run(current_file=nil, default_dir=nil, argv=ARGV, &block)
        if(!current_file || current_file == $0)
          r = new(!current_file, &block)
          if !r.process_args(argv) && default_dir
            r.to_run << default_dir
          end
          r.run
        end
      end

[Validate]