Method: RSpec::Core::Runner#setup

Defined in:
lib/rspec/core/runner.rb

#setup(err, out) ⇒ void

Wires together the various configuration objects and state holders.

Parameters:

  • err (IO)

    error stream

  • out (IO)

    output stream


98
99
100
101
102
103
104
105
# File 'lib/rspec/core/runner.rb', line 98

def setup(err, out)
  configure(err, out)
  return if RSpec.world.wants_to_quit

  @configuration.load_spec_files
ensure
  @world.announce_filters
end