Flowdock
method

run_tests

Importance_0
v2_1_10 - Show latest stable - 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 8
  def run_tests(pattern='test/test*.rb', log_enabled=false)
    FileList.glob(pattern).each do |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
  end
Register or log in to add new notes.