module RSpec::Parallel

Constants

VERSION

Public Class Methods

configuration() click to toggle source

@return [RSpec::Parallel::Configuration]

# File lib/rspec/parallel.rb, line 6
def self.configuration
  @configuration ||= RSpec::Parallel::Configuration.new
end
configure() { |configuration| ... } click to toggle source

Yields the global configuration to a block.

@yield [RSpec::Parallel::Configuration] @example

RSpec::Parallel.configure do |config|
  config.bind = "0.0.0.0:8000"
end
# File lib/rspec/parallel.rb, line 17
def self.configure
  yield configuration if block_given?
end