Skip to content

Commit dfca21e

Browse files
committed
Update SimpleCov configuration
1 parent db6aad3 commit dfca21e

2 files changed

Lines changed: 13 additions & 4 deletions

File tree

‎.simplecov‎

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,15 @@
11
# frozen_string_literal: true
22

3-
SimpleCov.start do
4-
add_group "Main", "lib"
5-
add_group "Tests", "test"
6-
add_group "Cuke support", "features"
3+
SimpleCov.configure do
4+
# Remove the "test_frameworks" filter
5+
clear_filters
6+
load_profile "bundler_filter"
7+
load_profile "hidden_filter"
8+
load_profile "root_filter"
9+
10+
group "Main", "lib"
11+
group "Tests", "test"
12+
group "Cuke support", "features"
13+
714
enable_coverage :branch
815
end

‎test/base_test_helper.rb‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
end
1414
$VERBOSE = old_verbose
1515

16+
SimpleCov.start if defined? SimpleCov
17+
1618
require "minitest/autorun"
1719
require "minitest/focus"
1820
require "rspec/mocks/minitest_integration"

0 commit comments

Comments
 (0)