Class: Minitest::Server
| Relationships & Source Files | |
| Inherits: | Object |
| Defined in: | lib/minitest/server.rb |
Constant Summary
-
TOPDIR =
# File 'lib/minitest/server.rb', line 8Dir.pwd + "/"
-
VERSION =
# File 'lib/minitest/server.rb', line 6"1.0.9"
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 10
def self.path pid = $$ "drbunix:#{Dir.tmpdir}/minitest.#{pid}" end
.run(client)
[ GitHub ].stop
[ GitHub ]# File 'lib/minitest/server.rb', line 18
def self.stop DRb.stop_service end
Instance Attribute Details
#client (rw)
[ GitHub ]# File 'lib/minitest/server.rb', line 22
attr_accessor :client
Instance Method Details
#quit
[ GitHub ]# File 'lib/minitest/server.rb', line 28
def quit self.class.stop end
#report
[ GitHub ]# File 'lib/minitest/server.rb', line 42
def report # do nothing end
#result(file, klass, method, fails, assertions, time)
[ GitHub ]#start
[ GitHub ]# File 'lib/minitest/server.rb', line 32
def start client.minitest_start end