Class: Minitest::Server
Do not use. This class is for internal use only.
| Relationships & Source Files | |
| Inherits: | Object |
| Defined in: | lib/minitest/server.rb |
Constant Summary
-
TOPDIR =
# File 'lib/minitest/server.rb', line 10
extracted version = “1.0.10”
Dir.pwd + "/"
Class Method Summary
- .new(client) ⇒ Server constructor
- .path(pid = $$)
- .run(client)
- .stop
Instance Attribute Summary
- #client rw
Instance Method Summary
Constructor Details
.new(client) ⇒ Server
Class Method Details
.path(pid = $$)
[ GitHub ]# File 'lib/minitest/server.rb', line 12
def self.path pid = $$ "drbunix:#{Dir.tmpdir}/minitest.#{pid}" end
.run(client)
[ GitHub ].stop
[ GitHub ]# File 'lib/minitest/server.rb', line 20
def self.stop DRb.stop_service end
Instance Attribute Details
#client (rw)
[ GitHub ]# File 'lib/minitest/server.rb', line 24
attr_accessor :client
Instance Method Details
#quit
[ GitHub ]# File 'lib/minitest/server.rb', line 30
def quit self.class.stop end
#report
[ GitHub ]# File 'lib/minitest/server.rb', line 44
def report # do nothing end
#result(file, klass, method, fails, assertions, time)
[ GitHub ]#start
[ GitHub ]# File 'lib/minitest/server.rb', line 34
def start client.minitest_start end