class RSpec::Parallel::ConfigurationOptions

Constants

NON_FORCED_OPTIONS

Public Instance Methods

command_line_options() click to toggle source
# File lib/rspec/parallel/configuration_options.rb, line 13
def command_line_options
  @command_line_options ||= RSpec::Parallel::Parser.parse!(@args).merge :files_or_directories_to_run => @args
end
env_options() click to toggle source
# File lib/rspec/parallel/configuration_options.rb, line 9
def env_options
  ENV["SPEC_OPTS"] ? RSpec::Parallel::Parser.parse!(Shellwords.split(ENV["SPEC_OPTS"])) : {}
end
options_from(path) click to toggle source
# File lib/rspec/parallel/configuration_options.rb, line 17
def options_from(path)
  RSpec::Parallel::Parser.parse(args_from_options_file(path))
end