module ProbeDockRSpec

Utilities to send test results to Probe Dock.

Constants

VERSION

Public Class Methods

config() click to toggle source
# File lib/probe_dock_rspec/config.rb, line 6
def self.config
  @config ||= Config.new.tap(&:load!)
end
configure(options = {}) { |config| ... } click to toggle source
# File lib/probe_dock_rspec/config.rb, line 10
def self.configure options = {}

  yield config if block_given?

  config.check!
  config.load_warnings.each{ |w| warn Paint["Probe Dock - #{w}", :yellow] }

  config.setup! if options[:setup] != false

  config
end