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
craigmarksmith-rake-0.8.3.100 lib/rake/runtest.rb
craigmarksmith-rake-0.8.4.101 lib/rake/runtest.rb
craigmarksmith-rake-0.8.4.102 lib/rake/runtest.rb
craigmarksmith-rake-0.8.4.103 lib/rake/runtest.rb
elliottcable-echoe-3.1.1 vendor/rake/lib/rake/runtest.rb
elliottcable-echoe-3.1.2 vendor/rake/lib/rake/runtest.rb
jimweirich-rake-0.8.1.10 lib/rake/runtest.rb
jimweirich-rake-0.8.1.11 lib/rake/runtest.rb
jimweirich-rake-0.8.1.5 lib/rake/runtest.rb
jimweirich-rake-0.8.1.6 lib/rake/runtest.rb
jimweirich-rake-0.8.1.7 lib/rake/runtest.rb
jimweirich-rake-0.8.1.8 lib/rake/runtest.rb
jimweirich-rake-0.8.1.9 lib/rake/runtest.rb
jimweirich-rake-0.8.2.99 lib/rake/runtest.rb
jimweirich-rake-0.8.2 lib/rake/runtest.rb
jimweirich-rake-0.8.3.1 lib/rake/runtest.rb
jimweirich-rake-0.8.3.100 lib/rake/runtest.rb
jimweirich-rake-0.8.3.99 lib/rake/runtest.rb
jimweirich-rake-0.8.3 lib/rake/runtest.rb
jimweirich-rake-0.8.4.99 lib/rake/runtest.rb