summaryrefslogtreecommitdiff
path: root/test/functional/suite.rb
blob: 6d795c0c3fcafa0d059a869e88ef618fea0111a2 (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