To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / .svn / pristine / 40 / 40d857531cd6b4668cb1e019211d87ead6d54850.svn-base @ 1297:0a574315af3e

History | View | Annotate | Download (420 Bytes)

1
require 'test/unit'
2

    
3
$VERBOSE = $CODERAY_DEBUG = true
4
$:.unshift File.expand_path('../../../lib', __FILE__)
5
require 'coderay'
6

    
7
mydir = File.dirname(__FILE__)
8
suite = Dir[File.join(mydir, '*.rb')].
9
  map { |tc| File.basename(tc).sub(/\.rb$/, '') } - %w'suite for_redcloth'
10

    
11
puts "Running basic CodeRay #{CodeRay::VERSION} tests: #{suite.join(', ')}"
12

    
13
for test_case in suite
14
  load File.join(mydir, test_case + '.rb')
15
end