aboutsummaryrefslogtreecommitdiff
path: root/test/test_mauve.rb
blob: 81c2a1f8ef4e518f2f7b6e9aeb6b033519daba21 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
if ENV['COVERAGE']
  require 'simplecov'
  SimpleCov.start do
    add_filter "test/"
  end
end

%w(. ..).each do |path|
  libdir = File.join(path,"lib")
  $:.unshift libdir if File.directory?(libdir)
end

require 'pp'
require 'test/unit'
require 'th_mauve'


%w(. test).each do |dir|
  Dir.glob(File.join(dir,"tc_*.rb")).each do |s|
    require s
  end
end