require 'simplecov'
require 'coveralls'
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
SimpleCov.start do
  add_filter '/spec/'
end
# SimpleCov always comes before **anything** else

require_relative '../lib/cert_munger'
require 'awesome_print'
require 'rspec/logging_helper'

RSpec.configure do |config|
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
  config.filter_run_excluding :skip
  config.order = 'random'

  # Configure RSpec to capture log messages for each test. The output from the
  # logs will be stored in the @log_output variable. It is a StringIO instance.
  include RSpec::LoggingHelper
  config.capture_log_messages
end

require 'simplecov'
require 'coveralls'
SimpleCov.formatters = [SimpleCov::Formatter::HTMLFormatter,
                        Coveralls::SimpleCov::Formatter]
SimpleCov.start do
  add_filter '/spec/'
end
# SimpleCov always comes before **anything** else

require_relative '../lib/cert_munger'
require 'awesome_print'
require 'rspec/logging_helper'

RSpec.configure do |config|
  config.run_all_when_everything_filtered = true
  config.filter_run :focus
  config.filter_run_excluding :skip
  config.order = 'random'

  # Configure RSpec to capture log messages for each test. The output from the
  # logs will be stored in the @log_output variable. It is a StringIO instance.
  include RSpec::LoggingHelper
  config.capture_log_messages
end

Add HTML formatter to simplecov
Add HTML formatter to simplecov
