Class: ATMFormatter::BaseFormatter
- Inherits:
-
RSpec::Core::Formatters::BaseFormatter
- Object
- RSpec::Core::Formatters::BaseFormatter
- ATMFormatter::BaseFormatter
show all
- Defined in:
- lib/atm_formatter/helpers/base_formatter.rb
Constant Summary
collapse
- DEFAULT_OPTIONS =
{ update_existing_tests: false, test_owner: nil, custom_labels: nil}.freeze
- NOTIFICATIONS =
i[start, example_started].freeze
Instance Method Summary
collapse
Instance Method Details
#start(_notification) ⇒ Object
8
9
10
11
|
# File 'lib/atm_formatter/helpers/base_formatter.rb', line 8
def start(_notification)
@options = DEFAULT_OPTIONS.merge(ATMFormatter.config.create_test_formatter_options)
@client = ATM::Client.new(ATMFormatter.config.to_hash)
end
|