123456789_123456789_123456789_123456789_123456789_

Class: RSpec::Core::Formatters::BisectDRbFormatter Private

Do not use. This class is for internal use only.
Relationships & Source Files
Super Chains via Extension / Inclusion / Inheritance
Class Chain:
Instance Chain:
Inherits: RSpec::Core::Formatters::BaseBisectFormatter
Defined in: rspec-core/lib/rspec/core/formatters/bisect_drb_formatter.rb

Overview

Used by –bisect. When it shells out and runs a portion of the suite, it uses this formatter as a means to have the status reported back to it, via DRb.

Note that since DRb calls carry considerable overhead compared to normal method calls, we try to minimize the number of DRb calls for perf reasons, opting to communicate only at the start and the end of the run, rather than after each example.

Class Method Summary

BaseBisectFormatter - Inherited

Instance Method Summary

Instance Method Details

#notify_results(results)

[ GitHub ]

  
# File 'rspec-core/lib/rspec/core/formatters/bisect_drb_formatter.rb', line 23

def notify_results(results)
  @bisect_server.latest_run_results = results
end