Flowdock
method

run_tests

Importance_0
Ruby latest stable (v1_9_3_392) - 0 notes - Class: Rake
run_tests(pattern='test/test*.rb', log_enabled=false) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/rake/runtest.rb, line 7
  def run_tests(pattern='test/test*.rb', log_enabled=false)
    Dir["#{pattern}"].each { |fn|
      $stderr.puts fn if log_enabled
      begin
        require fn
      rescue Exception => ex
        $stderr.puts "Error in #{fn}: #{ex.message}"
        $stderr.puts ex.backtrace
        assert false
      end
    }
  end
Register or log in to add new notes.