class Rake::TestTask

def run_code # :nodoc:

:nodoc:
def run_code # :nodoc:
  case @loader
  when :direct
    "-e \"ARGV.each{|f| require f}\""
  when :testrb
    "-S testrb"
  when :rake
    "#{__dir__}/rake_test_loader.rb"
  end
end