Sha256: 3d178c5b518e834a898d4d501542c97d6c3a607c4ae1b475beda478090f1e193

Contents?: true

Size: 639 Bytes

Versions: 2

Compression:

Stored size: 639 Bytes

Contents

#!/usr/bin/ruby -wrubygems

#
# File::      ts_all.rb
# Author::    wkm
# Copyright:: 2009
# License::   GPL
#
# The entirety test suite. Runs all tests.
#

require 'test/unit'
require 'term/ansicolor'
include Term::ANSIColor

$Divider = '='*60

# programmatically load all test files in this directory
testfiles = Dir[File.join(File.dirname(__FILE__), "test_*.rb")];

  # some whitespace

puts $Divider
puts bold('Found: %d test files' % testfiles.length)
puts testfiles.join("\n")

puts $Divider
puts bold('Loading:')

testfiles.each do |testfile|
  load testfile
  putc '.'
  STDOUT.flush
end
puts

puts $Divider
puts bold('Results:')

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sitefuel-0.0.0b test/ts_all.rb
sitefuel-0.0.0a test/ts_all.rb