Mercurial > hg > soundsoftware-site
view vendor/gems/coderay-1.0.0/test/functional/suite.rb @ 971:b80f97c892bc cannam
Merge from branch "get_statistics"
author | Chris Cannam |
---|---|
date | Fri, 19 Oct 2012 14:47:14 +0100 |
parents | cbb26bc654de |
children |
line wrap: on
line source
require 'test/unit' $VERBOSE = $CODERAY_DEBUG = true $:.unshift File.expand_path('../../../lib', __FILE__) 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