DIRNAME = File.expand_path File.dirname(__FILE__) Dir.chdir(DIRNAME) require "rubygems" require "etest" require "active_support" require "action_view" $:.push "#{DIRNAME}/../lib" require "mdown_handler" # --------------------------------------------------------------------- require 'mocha' require 'ruby-debug' begin require 'minitest-rg' rescue MissingSourceFile STDERR.puts "'gem install minitest-rg' gives you redgreen minitests" require 'minitest/unit' end # # run tests dlog "etest #{::Etest::VERSION}" Etest.autorun if defined?(::Etest) # MiniTest::Unit.autorun