Sha256: 254d6bbe27dc516e0e31cb21bfce22506de2b93153e0480c98f56bcac7d86aa7

Contents?: true

Size: 432 Bytes

Versions: 179

Compression:

Stored size: 432 Bytes

Contents

#!/usr/bin/env ruby

require 'test/unit'
require 'test/unit/assertions'

module Rake
  include Test::Unit::Assertions

  def run_tests(pattern='test/test*.rb', log_enabled=false)
    Dir["#{pattern}"].each { |fn|
      puts fn if log_enabled
      begin
        load fn
      rescue Exception => ex
        puts "Error in #{fn}: #{ex.message}"
        puts ex.backtrace
        assert false
      end
    }
  end

  extend self
end

Version data entries

179 entries across 133 versions & 13 rubygems

Version Path
dirty_history-0.5.2 dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.5.1 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.5.1 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.5.1 dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.5.0 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.5.0 dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.5.0 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.4.10 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.4.10 dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.4.10 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.4.9 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.4.9 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.4.9 dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.4.8 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.4.8 dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.4.8 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.4.7 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.4.7 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.4.7 dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb
dirty_history-0.4.6 dirty_history/ruby/1.9.1/gems/dirty_history-0.2.0/dirty_history/ruby/1.9.1/gems/rake-0.8.7/lib/rake/runtest.rb