From 3924d7730b5332764b2f94a744da0fa180643f4e Mon Sep 17 00:00:00 2001 From: Natanael Arndt Date: Wed, 13 Mar 2019 11:25:42 +0100 Subject: [PATCH] Configre filter to exclude vendor and test --- test/test_helper.rb | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/test/test_helper.rb b/test/test_helper.rb index 96936e56..a79777ec 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -3,11 +3,18 @@ require 'shoulda-context' require 'rspec/expectations' require 'pry' +require 'simplecov' require 'coveralls' require 'ResourceHelper' require 'RdfTestUtility' -Coveralls.wear! +SimpleCov.formatters = SimpleCov::Formatter::MultiFormatter.new([ + SimpleCov::Formatter::HTMLFormatter, + Coveralls::SimpleCov::Formatter +]) +SimpleCov.start do + add_filter ["/.vendor", "/vendor", "/test"] +end require_relative '../lib/jekyll-rdf' Jekyll.logger.log_level = :error