Class: RSpec::Parallel::ConfigurationOptions
- Inherits:
-
Core::ConfigurationOptions
- Object
- Core::ConfigurationOptions
- RSpec::Parallel::ConfigurationOptions
- Defined in:
- lib/rspec/parallel/configuration_options.rb
Constant Summary collapse
- NON_FORCED_OPTIONS =
[ :debug, :requires, :profile, :drb, :libs, :files_or_directories_to_run, :line_numbers, :full_description, :full_backtrace, :tty, :thread_maximum ].to_set
Instance Method Summary collapse
Instance Method Details
#command_line_options ⇒ Object
13 14 15 |
# File 'lib/rspec/parallel/configuration_options.rb', line 13 def ||= RSpec::Parallel::Parser.parse!(@args).merge :files_or_directories_to_run => @args end |
#env_options ⇒ Object
9 10 11 |
# File 'lib/rspec/parallel/configuration_options.rb', line 9 def ENV["SPEC_OPTS"] ? RSpec::Parallel::Parser.parse!(Shellwords.split(ENV["SPEC_OPTS"])) : {} end |
#options_from(path) ⇒ Object
17 18 19 |
# File 'lib/rspec/parallel/configuration_options.rb', line 17 def (path) RSpec::Parallel::Parser.parse((path)) end |