Module: RSpec::Parallel

Defined in:
lib/rspec/parallel.rb,
lib/rspec/parallel/errors.rb,
lib/rspec/parallel/master.rb,
lib/rspec/parallel/runner.rb,
lib/rspec/parallel/worker.rb,
lib/rspec/parallel/railtie.rb,
lib/rspec/parallel/version.rb,
lib/rspec/parallel/protocol.rb,
lib/rspec/parallel/configuration.rb,
lib/rspec/parallel/socket_builder.rb

Defined Under Namespace

Modules: Protocol Classes: Configuration, EmptyQueue, Engine, Error, Master, Runner, SocketBuilder, Worker

Constant Summary collapse

VERSION =
"0.1.0".freeze

Class Method Summary collapse

Class Method Details

.configurationRSpec::Parallel::Configuration



6
7
8
# File 'lib/rspec/parallel.rb', line 6

def self.configuration
  @configuration ||= RSpec::Parallel::Configuration.new
end

.configure {|RSpec::Parallel::Configuration| ... } ⇒ Object

Yields the global configuration to a block.

Examples:

RSpec::Parallel.configure do |config|
  config.bind = "0.0.0.0:8000"
end

Yields:



17
18
19
# File 'lib/rspec/parallel.rb', line 17

def self.configure
  yield configuration if block_given?
end