blob: 4189953802bf67ed6c2f55613959a666a7b26d6f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
require 'test/unit'
$:.unshift 'lib'
require 'coderay'
MYDIR = File.dirname(__FILE__)
suite = Dir[File.join(MYDIR, '*.rb')].
map { |tc| File.basename(tc).sub(/\.rb$/, '') } - %w'suite for_redcloth'
puts "Running basic CodeRay #{CodeRay::VERSION} tests: #{suite.join(', ')}"
for test_case in suite
load File.join(MYDIR, test_case + '.rb')
end
|