class Minitest::Server
Constants
- TOPDIR
- VERSION
Attributes
Public Class Methods
# File lib/minitest/server.rb, line 24 def initialize client self.client = client end
# File lib/minitest/server.rb, line 10 def self.path pid = $$ "drbunix:#{Dir.tmpdir}/minitest.#{pid}" end
# File lib/minitest/server.rb, line 14 def self.run client DRb.start_service path, new(client) end
# File lib/minitest/server.rb, line 18 def self.stop DRb.stop_service end
Public Instance Methods
# File lib/minitest/server.rb, line 28 def quit self.class.stop end
# File lib/minitest/server.rb, line 42 def report # do nothing end
# File lib/minitest/server.rb, line 36 def result file, klass, method, fails, assertions, time file = file.sub(/^#{TOPDIR}/, "") client.minitest_result file, klass, method, fails, assertions, time end
# File lib/minitest/server.rb, line 32 def start client.minitest_start end