module Hoe::Test
def make_test_cmd
def make_test_cmd unless SUPPORTED_TEST_FRAMEWORKS.has_key?(testlib) raise "unsupported test framework #{testlib}" end framework = SUPPORTED_TEST_FRAMEWORKS[testlib] tests = ["rubygems"] tests << framework if framework tests << test_globs.sort.map { |g| Dir.glob(g) } tests.flatten! tests.map! {|f| %(require "#{f}")} tests.insert 1, test_prelude if test_prelude "#{Hoe::RUBY_FLAGS} -e '#{tests.join("; ")}' -- #{FILTER}" end