$:.unshift(File.dirname(__FILE__) + '/../lib') require 'test/unit' require 'luruju' class Test::Unit::TestCase TEST_JUDE_DIR = File.dirname(__FILE__) + '/jude' include Luruju def setup # JudeApi.constants.each {|c| JudeApi.remove_const(c)} end protected def jude_api_load(jude_file) Luruju::JudeApiLoader.load("#{TEST_JUDE_DIR}/#{jude_file}.jude") end end