class Minitest::Server

def self.path pid = $$

def self.path pid = $$
  "drbunix:#{Dir.tmpdir}/minitest.#{pid}"
end

def self.run client

def self.run client
  DRb.start_service path, new(client)
end

def self.stop

def self.stop
  DRb.stop_service
end

def initialize client

def initialize client
  self.client = client
end

def quit

def quit
  self.class.stop
end

def report

def report
  # do nothing
end

def result file, klass, method, fails, assertions, time

def result file, klass, method, fails, assertions, time
  file = file.sub(/^#{TOPDIR}/, "")
  client.minitest_result file, klass, method, fails, assertions, time
end

def start

def start
  client.minitest_start
end