Module: Minitest
- Defined in:
- lib/minitest/server_plugin.rb
Defined Under Namespace
Classes: Server, ServerReporter
Class Method Summary collapse
Class Method Details
.plugin_server_init(options) ⇒ Object
12 13 14 15 16 17 |
# File 'lib/minitest/server_plugin.rb', line 12 def self.plugin_server_init if @server then require "minitest/server" self.reporter << Minitest::ServerReporter.new(@server) end end |
.plugin_server_options(opts, options) ⇒ Object
:nodoc:
6 7 8 9 10 |
# File 'lib/minitest/server_plugin.rb', line 6 def self. opts, # :nodoc: opts.on "--server=pid", Integer, "Connect to minitest server w/ pid." do |s| @server = s end end |