Class: RSpec::Core::Invocations::Bisect Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | rspec-core/lib/rspec/core/invocations.rb |
Instance Method Summary
- #call(options, err, out) Internal use only
- #bisect_formatter_klass_for(argument) private Internal use only
Instance Method Details
#bisect_formatter_klass_for(argument) (private)
[ GitHub ]# File 'rspec-core/lib/rspec/core/invocations.rb', line 45
def bisect_formatter_klass_for(argument) return Formatters::BisectDebugFormatter if argument == "verbose" Formatters::BisectProgressFormatter end
#call(options, err, out)
[ GitHub ]# File 'rspec-core/lib/rspec/core/invocations.rb', line 29
def call(, err, out) RSpec::Support.require_rspec_core "bisect/coordinator" runner = Runner.new( ).tap { |r| r.configure(err, out) } formatter = bisect_formatter_klass_for( . [:bisect]).new( out, runner.configuration.bisect_runner ) success = RSpec::Core::Bisect::Coordinator.bisect_with( runner, .args, formatter ) runner.exit_code(success) end