class Minitest::Server
Constants
- TOPDIR
- VERSION
Attributes
Public Class Methods
Source
# File lib/minitest/server.rb, line 24 def initialize client self.client = client end
Source
# File lib/minitest/server.rb, line 10 def self.path pid = $$ "drbunix:#{Dir.tmpdir}/minitest.#{pid}" end
Source
# File lib/minitest/server.rb, line 14 def self.run client DRb.start_service path, new(client) end
Public Instance Methods
Source
# 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