Sha256: 5ad5a58d7271fef34e1a993b4c88eecdd9d0d3c3cbf713be3a08438e328d25d9
Contents?: true
Size: 690 Bytes
Versions: 1
Compression:
Stored size: 690 Bytes
Contents
require "drb" require "tmpdir" require "minitest" class Minitest::Server VERSION = "1.0.8" TOPDIR = Dir.pwd + "/" def self.path pid = $$ "drbunix:#{Dir.tmpdir}/minitest.#{pid}" end def self.run client DRb.start_service path, new(client) end def self.stop DRb.stop_service end attr_accessor :client def initialize client self.client = client end def quit self.class.stop end def start client.minitest_start end def result file, klass, method, fails, assertions, time file = file.sub(/^#{TOPDIR}/, "") client.minitest_result file, klass, method, fails, assertions, time end def report # do nothing end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
minitest-server-1.0.8 | lib/minitest/server.rb |