require 'puppet-lint'

PuppetLint::Plugins.load_spec_helper

require 'simplecov'
SimpleCov.start do
  enable_coverage :branch
end

require 'puppet-lint'

PuppetLint::Plugins.load_spec_helper

Enable simplecov and turn on branch coverage
Enable simplecov and turn on branch coverage

New from ruby 2.5 - shows coverage of if / else for example
