Class: TurboTest::RSpec::ConfigurationOptions

Inherits:
RSpec::Core::ConfigurationOptions
  • Object
show all
Defined in:
lib/turbo_test/rspec/job.rb

Instance Method Summary collapse

Constructor Details

#initialize(arguments, packer:) ⇒ ConfigurationOptions

Returns a new instance of ConfigurationOptions.



13
14
15
16
17
# File 'lib/turbo_test/rspec/job.rb', line 13

def initialize(arguments, packer:)
	super(arguments)
	
	@packer = packer
end

Instance Method Details

#configure(config) ⇒ Object



19
20
21
22
23
# File 'lib/turbo_test/rspec/job.rb', line 19

def configure(config)
	super(config)
	
	config.add_formatter(ExampleFormatter.new(@packer))
end

#load_formatters_into(config) ⇒ Object



25
26
27
# File 'lib/turbo_test/rspec/job.rb', line 25

def load_formatters_into(config)
	# Don't load any formatters, default or otherwise.
end