Module: RoxClient::RSpec

Defined in:
lib/rox-client-rspec/config.rb,
lib/rox-client-rspec.rb,
lib/rox-client-rspec/uid.rb,
lib/rox-client-rspec/cache.rb,
lib/rox-client-rspec/tasks.rb,
lib/rox-client-rspec/client.rb,
lib/rox-client-rspec/server.rb,
lib/rox-client-rspec/project.rb,
lib/rox-client-rspec/test_run.rb,
lib/rox-client-rspec/formatter.rb,
lib/rox-client-rspec/test_result.rb,
lib/rox-client-rspec/test_payload.rb

Overview

Utilities to send test results to ROX Center.

Defined Under Namespace

Classes: Cache, Client, Config, Error, Formatter, PayloadError, Project, Server, Tasks, TestPayload, TestResult, TestRun, UID

Constant Summary collapse

VERSION =
'0.4.1'

Class Method Summary collapse

Class Method Details

.configObject



6
7
8
# File 'lib/rox-client-rspec/config.rb', line 6

def self.config
  @config ||= Config.new.tap(&:load)
end

.configure(options = {}) {|config| ... } ⇒ Object

Yields:



10
11
12
13
14
15
# File 'lib/rox-client-rspec/config.rb', line 10

def self.configure options = {}
  yield config if block_given?
  config.load_warnings.each{ |w| warn Paint["ROX - #{w}", :yellow] }
  config.setup! if options[:setup] != false
  config
end