$LOAD_PATH.unshift File.expand_path('../lib', __dir__)
require 'simplecov'
require 'simplecov-console'
require 'pry'
require 'excon'

require 'spec_helper_parameters'
require 'spec_helper_shared_examples'

Excon.defaults[:mock] = true # blocks outbound communication.

Dir.glob("spec/matchers/*.rb").each { |f| require(f[5..-1]) }

RSpec.configure do |config|
  config.filter_run :focus
  config.run_all_when_everything_filtered = true
  config.example_status_persistence_file_path = "tmp/examples.txt"
end

SimpleCov.formatters = [
  SimpleCov::Formatter::HTMLFormatter
]

SimpleCov.start do
  add_filter "/spec/"
end

require 'cts/mpx'
