coverband 4.2.5.rc.2 → 5.0.0.rc.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.standard.yml +25 -0
- data/.travis.yml +2 -1
- data/Gemfile +5 -7
- data/Gemfile.rails4 +0 -3
- data/Gemfile.rails6 +0 -3
- data/README.md +24 -77
- data/Rakefile +17 -17
- data/changes.md +26 -30
- data/config.ru +1 -1
- data/coverband.gemspec +29 -34
- data/lib/alternative_coverband_patch.rb +5 -0
- data/lib/coverband.rb +55 -43
- data/lib/coverband/adapters/base.rb +17 -17
- data/lib/coverband/adapters/file_store.rb +2 -2
- data/lib/coverband/adapters/hash_redis_store.rb +24 -21
- data/lib/coverband/adapters/redis_store.rb +12 -12
- data/lib/coverband/at_exit.rb +1 -1
- data/lib/coverband/collectors/coverage.rb +15 -27
- data/lib/coverband/collectors/delta.rb +19 -9
- data/lib/coverband/collectors/view_tracker.rb +19 -11
- data/lib/coverband/configuration.rb +48 -84
- data/lib/coverband/integrations/background.rb +3 -3
- data/lib/coverband/integrations/rack_server_check.rb +3 -3
- data/lib/coverband/integrations/resque.rb +13 -1
- data/lib/coverband/reporters/base.rb +10 -10
- data/lib/coverband/reporters/console_report.rb +1 -1
- data/lib/coverband/reporters/html_report.rb +10 -30
- data/lib/coverband/reporters/web.rb +56 -49
- data/lib/coverband/utils/absolute_file_converter.rb +6 -6
- data/lib/coverband/utils/html_formatter.rb +32 -61
- data/lib/coverband/utils/railtie.rb +16 -4
- data/lib/coverband/utils/relative_file_converter.rb +2 -2
- data/lib/coverband/utils/result.rb +6 -11
- data/lib/coverband/utils/results.rb +0 -10
- data/lib/coverband/utils/source_file.rb +21 -30
- data/lib/coverband/utils/tasks.rb +7 -11
- data/lib/coverband/version.rb +1 -1
- data/public/application.js +0 -30
- data/test/benchmarks/benchmark.rake +97 -92
- data/test/benchmarks/dog.rb +1 -1
- data/test/benchmarks/init_rails.rake +4 -4
- data/test/coverband/adapters/base_test.rb +29 -30
- data/test/coverband/adapters/file_store_test.rb +15 -16
- data/test/coverband/adapters/hash_redis_store_test.rb +57 -57
- data/test/coverband/adapters/redis_store_test.rb +26 -26
- data/test/coverband/at_exit_test.rb +2 -2
- data/test/coverband/collectors/coverage_test.rb +33 -47
- data/test/coverband/collectors/delta_test.rb +51 -23
- data/test/coverband/collectors/view_tracker_test.rb +35 -35
- data/test/coverband/configuration_test.rb +27 -53
- data/test/coverband/coverband_test.rb +11 -11
- data/test/coverband/integrations/background_middleware_test.rb +10 -10
- data/test/coverband/integrations/background_test.rb +3 -2
- data/test/coverband/integrations/rack_server_check_test.rb +7 -7
- data/test/coverband/integrations/report_middleware_test.rb +9 -9
- data/test/coverband/integrations/resque_worker_test.rb +9 -9
- data/test/coverband/integrations/test_resque_job.rb +1 -1
- data/test/coverband/reporters/base_test.rb +9 -9
- data/test/coverband/reporters/console_test.rb +6 -6
- data/test/coverband/reporters/html_test.rb +36 -48
- data/test/coverband/reporters/web_test.rb +16 -18
- data/test/coverband/utils/absolute_file_converter_test.rb +22 -22
- data/test/coverband/utils/file_hasher_test.rb +6 -12
- data/test/coverband/utils/file_list_test.rb +13 -13
- data/test/coverband/utils/html_formatter_test.rb +9 -23
- data/test/coverband/utils/lines_classifier_test.rb +29 -29
- data/test/coverband/utils/relative_file_converter_test.rb +13 -13
- data/test/coverband/utils/result_test.rb +18 -18
- data/test/coverband/utils/results_test.rb +17 -17
- data/test/coverband/utils/source_file_line_test.rb +46 -46
- data/test/coverband/utils/source_file_test.rb +38 -88
- data/test/dog.rb +1 -1
- data/test/fake_app/basic_rack.rb +2 -2
- data/test/fixtures/app/controllers/sample_controller.rb +1 -1
- data/test/fixtures/app/models/user.rb +1 -1
- data/test/fixtures/sample.rb +1 -1
- data/test/fixtures/utf-8.rb +0 -2
- data/test/forked/rails_full_stack_test.rb +24 -27
- data/test/forked/rails_rake_full_stack_test.rb +7 -26
- data/test/integration/full_stack_test.rb +11 -22
- data/test/jruby_check.rb +2 -3
- data/test/rails4_dummy/Rakefile +1 -1
- data/test/rails4_dummy/config.ru +1 -1
- data/test/rails4_dummy/config/application.rb +4 -4
- data/test/rails4_dummy/config/boot.rb +2 -2
- data/test/rails4_dummy/config/coverband.rb +1 -1
- data/test/rails4_dummy/config/coverband_missing_redis.rb +1 -1
- data/test/rails4_dummy/config/environment.rb +1 -1
- data/test/rails4_dummy/config/routes.rb +2 -2
- data/test/rails5_dummy/Rakefile +1 -1
- data/test/rails5_dummy/config.ru +1 -1
- data/test/rails5_dummy/config/application.rb +3 -3
- data/test/rails5_dummy/config/coverband.rb +8 -8
- data/test/rails5_dummy/config/coverband_missing_redis.rb +8 -8
- data/test/rails5_dummy/config/environment.rb +1 -1
- data/test/rails5_dummy/config/routes.rb +2 -2
- data/test/rails6_dummy/Rakefile +1 -1
- data/test/rails6_dummy/config.ru +1 -1
- data/test/rails6_dummy/config/application.rb +4 -4
- data/test/rails6_dummy/config/boot.rb +2 -2
- data/test/rails6_dummy/config/coverband.rb +1 -1
- data/test/rails6_dummy/config/coverband_missing_redis.rb +1 -1
- data/test/rails6_dummy/config/environment.rb +1 -1
- data/test/rails6_dummy/config/routes.rb +2 -2
- data/test/rails_test_helper.rb +11 -11
- data/test/test_helper.rb +41 -34
- data/test/unique_files.rb +10 -10
- data/views/layout.erb +2 -12
- metadata +5 -43
- data/.rubocop.yml +0 -84
- data/lib/coverband/integrations/bundler.rb +0 -8
- data/lib/coverband/utils/file_groups.rb +0 -53
- data/lib/coverband/utils/gem_list.rb +0 -31
- data/lib/coverband/utils/s3_report.rb +0 -105
- data/test/coverband/utils/file_groups_test.rb +0 -61
- data/test/coverband/utils/gem_list_test.rb +0 -48
- data/test/coverband/utils/s3_report_test.rb +0 -44
- data/views/gem_list.erb +0 -63
data/test/dog.rb
CHANGED
data/test/fake_app/basic_rack.rb
CHANGED
data/test/fixtures/sample.rb
CHANGED
data/test/fixtures/utf-8.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require File.expand_path(
|
3
|
+
require File.expand_path("../rails_test_helper", File.dirname(__FILE__))
|
4
4
|
|
5
5
|
class RailsFullStackTest < Minitest::Test
|
6
6
|
include Capybara::DSL
|
@@ -11,8 +11,8 @@ class RailsFullStackTest < Minitest::Test
|
|
11
11
|
rails_setup
|
12
12
|
# preload first coverage hit
|
13
13
|
Coverband.report_coverage
|
14
|
-
require
|
15
|
-
Rainbow(
|
14
|
+
require "rainbow"
|
15
|
+
Rainbow("this text is red").red
|
16
16
|
end
|
17
17
|
|
18
18
|
def teardown
|
@@ -24,30 +24,27 @@ class RailsFullStackTest < Minitest::Test
|
|
24
24
|
# We have to combine everything in one test
|
25
25
|
# because we can only initialize rails once per test
|
26
26
|
# run. Possibly fork test runs to avoid this problem in future?
|
27
|
-
unless ENV[
|
28
|
-
test
|
29
|
-
visit
|
27
|
+
unless ENV["COVERBAND_MEMORY_TEST"]
|
28
|
+
test "this is how we do it" do
|
29
|
+
visit "/dummy/show"
|
30
30
|
Coverband.report_coverage
|
31
|
-
assert_content(
|
32
|
-
visit
|
33
|
-
within page.find(
|
34
|
-
assert_selector(
|
31
|
+
assert_content("I am no dummy")
|
32
|
+
visit "/coverage"
|
33
|
+
within page.find("a", text: /dummy_controller.rb/).find(:xpath, "../..") do
|
34
|
+
assert_selector("td", text: "100.0 %")
|
35
35
|
end
|
36
36
|
|
37
|
-
# Test gems are reporting coverage
|
38
|
-
assert_content('Gems')
|
39
|
-
assert page.html.match('rainbow/wrapper.rb')
|
40
|
-
|
41
37
|
# Test eager load data stored separately
|
42
38
|
dummy_controller = "./test/rails#{Rails::VERSION::MAJOR}_dummy/app/controllers/dummy_controller.rb"
|
43
39
|
store.type = :eager_loading
|
44
40
|
eager_expected = [1, 1, 0, nil, nil]
|
45
|
-
results = store.coverage[dummy_controller][
|
41
|
+
results = store.coverage[dummy_controller]["data"]
|
46
42
|
assert_equal(eager_expected, results)
|
47
43
|
|
48
44
|
store.type = Coverband::RUNTIME_TYPE
|
49
45
|
runtime_expected = [0, 0, 1, nil, nil]
|
50
|
-
results = store.coverage[dummy_controller][
|
46
|
+
results = store.coverage[dummy_controller]["data"]
|
47
|
+
assert_equal(runtime_expected, results)
|
51
48
|
end
|
52
49
|
end
|
53
50
|
|
@@ -55,20 +52,20 @@ class RailsFullStackTest < Minitest::Test
|
|
55
52
|
# as we run it in single test mode via the benchmarks.
|
56
53
|
# Add new tests below this test
|
57
54
|
###
|
58
|
-
if ENV[
|
59
|
-
test
|
60
|
-
return unless ENV[
|
55
|
+
if ENV["COVERBAND_MEMORY_TEST"]
|
56
|
+
test "memory usage" do
|
57
|
+
return unless ENV["COVERBAND_MEMORY_TEST"]
|
61
58
|
|
62
59
|
# we don't want this to run during our standard test suite
|
63
60
|
# as the below profiler changes the runtime
|
64
61
|
# and shold only be included for isolated processes
|
65
62
|
begin
|
66
|
-
require
|
63
|
+
require "memory_profiler"
|
67
64
|
|
68
65
|
# warmup
|
69
66
|
3.times do
|
70
|
-
visit
|
71
|
-
assert_content(
|
67
|
+
visit "/dummy/show"
|
68
|
+
assert_content("I am no dummy")
|
72
69
|
Coverband.report_coverage
|
73
70
|
end
|
74
71
|
|
@@ -76,10 +73,10 @@ class RailsFullStackTest < Minitest::Test
|
|
76
73
|
capture = StringIO.new
|
77
74
|
$stdout = capture
|
78
75
|
|
79
|
-
MemoryProfiler.report
|
76
|
+
MemoryProfiler.report {
|
80
77
|
15.times do
|
81
|
-
visit
|
82
|
-
assert_content(
|
78
|
+
visit "/dummy/show"
|
79
|
+
assert_content("I am no dummy")
|
83
80
|
Coverband.report_coverage
|
84
81
|
###
|
85
82
|
# Set to nil not {} as it is easier to verify that no memory is retained when nil gets released
|
@@ -91,12 +88,12 @@ class RailsFullStackTest < Minitest::Test
|
|
91
88
|
# needed to test older versions to discover when we had the regression
|
92
89
|
# Coverband::Collectors::Coverage.instance.send(:add_previous_results, nil)
|
93
90
|
end
|
94
|
-
|
91
|
+
}.pretty_print
|
95
92
|
data = $stdout.string
|
96
93
|
$stdout = previous_out
|
97
94
|
if data.match(/retained objects by gem(.*)retained objects by file/m)[0]&.match(/coverband/)
|
98
95
|
puts data
|
99
|
-
raise
|
96
|
+
raise "leaking memory!!!"
|
100
97
|
end
|
101
98
|
ensure
|
102
99
|
$stdout = previous_out
|
@@ -1,8 +1,7 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require File.expand_path(
|
4
|
-
require
|
5
|
-
require 'pundit'
|
3
|
+
require File.expand_path("../rails_test_helper", File.dirname(__FILE__))
|
4
|
+
require "rails"
|
6
5
|
|
7
6
|
class RailsRakeFullStackTest < Minitest::Test
|
8
7
|
def setup
|
@@ -11,31 +10,13 @@ class RailsRakeFullStackTest < Minitest::Test
|
|
11
10
|
Coverband.configure("./test/rails#{Rails::VERSION::MAJOR}_dummy/config/coverband.rb")
|
12
11
|
end
|
13
12
|
|
14
|
-
test 'rake tasks shows coverage properly within eager_loading' do
|
15
|
-
|
16
|
-
|
17
|
-
system("COVERBAND_CONFIG=./test/rails#{Rails::VERSION::MAJOR}_dummy/config/coverband.rb bundle exec rake -f test/rails#{Rails::VERSION::MAJOR}_dummy/Rakefile middleware")
|
18
|
-
store.instance_variable_set(:@redis_namespace, 'coverband_test')
|
19
|
-
store.type = :eager_loading
|
20
|
-
pundit_file = store.coverage.keys.grep(/pundit.rb/).first
|
21
|
-
refute_nil pundit_file
|
22
|
-
pundit_coverage = store.coverage[pundit_file]
|
23
|
-
refute_nil pundit_coverage
|
24
|
-
assert_includes pundit_coverage['data'], 1
|
25
|
-
|
26
|
-
store.type = Coverband::RUNTIME_TYPE
|
27
|
-
if ENV['SIMULATE_ONESHOT']
|
28
|
-
pundit_coverage = store.get_coverage_report[Coverband::RUNTIME_TYPE][pundit_file]
|
29
|
-
assert pundit_coverage['data'].compact.all? { |el| el == 0 }
|
30
|
-
else
|
31
|
-
pundit_coverage = store.coverage[pundit_file]
|
32
|
-
assert_nil pundit_coverage
|
33
|
-
end
|
34
|
-
end
|
13
|
+
# test 'rake tasks shows coverage properly within eager_loading' do
|
14
|
+
# this was testing gem data, which we no logner support and I dont know if this makes sense anymre
|
15
|
+
# end
|
35
16
|
|
36
17
|
test "ignored rake tasks don't add coverage" do
|
37
18
|
store.clear!
|
38
|
-
store.instance_variable_set(:@redis_namespace,
|
19
|
+
store.instance_variable_set(:@redis_namespace, "coverband_test")
|
39
20
|
store.send(:save_report, basic_coverage_full_path)
|
40
21
|
output = `COVERBAND_CONFIG=./test/rails#{Rails::VERSION::MAJOR}_dummy/config/coverband.rb bundle exec rake -f test/rails#{Rails::VERSION::MAJOR}_dummy/Rakefile coverband:clear`
|
41
22
|
assert_nil output.match(/Coverband: Reported coverage via thread/)
|
@@ -49,7 +30,7 @@ class RailsRakeFullStackTest < Minitest::Test
|
|
49
30
|
test "doesn't exit non-zero with error on missing redis" do
|
50
31
|
output = `COVERBAND_CONFIG=./test/rails#{Rails::VERSION::MAJOR}_dummy/config/coverband_missing_redis.rb bundle exec rake -f test/rails#{Rails::VERSION::MAJOR}_dummy/Rakefile -T`
|
51
32
|
assert_equal 0, $?.to_i
|
52
|
-
if ENV[
|
33
|
+
if ENV["COVERBAND_HASH_REDIS_STORE"]
|
53
34
|
assert output.match(/Redis is not available/)
|
54
35
|
else
|
55
36
|
assert output.match(/coverage failed to store/)
|
@@ -1,57 +1,46 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require File.expand_path(
|
4
|
-
require
|
3
|
+
require File.expand_path("../test_helper", File.dirname(__FILE__))
|
4
|
+
require "rack"
|
5
5
|
|
6
6
|
class FullStackTest < Minitest::Test
|
7
7
|
REDIS_STORAGE_FORMAT_VERSION = Coverband::Adapters::RedisStore::REDIS_STORAGE_FORMAT_VERSION
|
8
|
-
TEST_RACK_APP =
|
8
|
+
TEST_RACK_APP = "../fake_app/basic_rack.rb"
|
9
9
|
|
10
10
|
def setup
|
11
11
|
super
|
12
12
|
Coverband::Collectors::Coverage.instance.reset_instance
|
13
13
|
Coverband.configure do |config|
|
14
|
-
config.s3_bucket = nil
|
15
14
|
config.background_reporting_enabled = false
|
16
15
|
config.track_gems = true
|
17
16
|
end
|
18
17
|
Coverband.start
|
19
18
|
Coverband::Collectors::Coverage.instance.eager_loading!
|
20
|
-
@rack_file = require_unique_file
|
19
|
+
@rack_file = require_unique_file "fake_app/basic_rack.rb"
|
21
20
|
Coverband.report_coverage
|
22
21
|
Coverband::Collectors::Coverage.instance.runtime!
|
23
22
|
end
|
24
23
|
|
25
|
-
test
|
26
|
-
request = Rack::MockRequest.env_for(
|
24
|
+
test "call app" do
|
25
|
+
request = Rack::MockRequest.env_for("/anything.json")
|
27
26
|
middleware = Coverband::BackgroundMiddleware.new(fake_app_with_lines)
|
28
27
|
results = middleware.call(request)
|
29
|
-
assert_equal
|
28
|
+
assert_equal "Hello Rack!", results.last
|
30
29
|
Coverband.report_coverage
|
31
30
|
expected = [nil, nil, 0, nil, 0, 0, 1, nil, nil]
|
32
|
-
assert_equal expected, Coverband.configuration.store.coverage[@rack_file][
|
31
|
+
assert_equal expected, Coverband.configuration.store.coverage[@rack_file]["data"]
|
33
32
|
|
34
33
|
# additional calls increase count by 1
|
35
34
|
middleware.call(request)
|
36
35
|
Coverband.report_coverage
|
37
36
|
expected = [nil, nil, 0, nil, 0, 0, 2, nil, nil]
|
38
|
-
assert_equal expected, Coverband.configuration.store.coverage[@rack_file][
|
37
|
+
assert_equal expected, Coverband.configuration.store.coverage[@rack_file]["data"]
|
39
38
|
|
40
39
|
# class coverage
|
41
40
|
Coverband.eager_loading_coverage!
|
42
|
-
Coverband.configuration.store.coverage[@rack_file][
|
41
|
+
Coverband.configuration.store.coverage[@rack_file]["data"]
|
43
42
|
expected = [nil, nil, 1, nil, 1, 1, 0, nil, nil]
|
44
|
-
|
45
|
-
|
46
|
-
test 'call app with gem tracking' do
|
47
|
-
require 'rainbow'
|
48
|
-
Rainbow('this text is red').red
|
49
|
-
request = Rack::MockRequest.env_for('/anything.json')
|
50
|
-
middleware = Coverband::BackgroundMiddleware.new(fake_app_with_lines)
|
51
|
-
results = middleware.call(request)
|
52
|
-
assert_equal 'Hello Rack!', results.last
|
53
|
-
Coverband.report_coverage
|
54
|
-
assert Coverband.configuration.store.coverage.keys.any? { |key| key.end_with?('rainbow/global.rb') }
|
43
|
+
assert_equal expected, Coverband.configuration.store.coverage[@rack_file]["data"]
|
55
44
|
end
|
56
45
|
|
57
46
|
private
|
data/test/jruby_check.rb
CHANGED
data/test/rails4_dummy/Rakefile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
2
|
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
3
3
|
|
4
|
-
require_relative
|
4
|
+
require_relative "config/application"
|
5
5
|
|
6
6
|
Rails.application.load_tasks
|
data/test/rails4_dummy/config.ru
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
|
-
require File.expand_path(
|
3
|
+
require File.expand_path("boot", __dir__)
|
4
4
|
|
5
|
-
require
|
6
|
-
require
|
7
|
-
require
|
5
|
+
require "rails"
|
6
|
+
require "action_controller/railtie"
|
7
|
+
require "coverband"
|
8
8
|
Bundler.require(*Rails.groups)
|
9
9
|
|
10
10
|
module Rails4Dummy
|
@@ -1,3 +1,3 @@
|
|
1
|
-
ENV[
|
1
|
+
ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../../Gemfile", __FILE__)
|
2
2
|
|
3
|
-
require
|
3
|
+
require "bundler/setup" # Set up gems listed in the Gemfile.
|
data/test/rails5_dummy/Rakefile
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Add your own tasks in files placed in lib/tasks ending in .rake,
|
2
2
|
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
|
3
3
|
|
4
|
-
require_relative
|
4
|
+
require_relative "config/application"
|
5
5
|
|
6
6
|
Rails.application.load_tasks
|
data/test/rails5_dummy/config.ru
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
Coverband.configure do |config|
|
4
|
-
config.root
|
5
|
-
config.store
|
6
|
-
config.ignore
|
7
|
-
config.root_paths
|
8
|
-
config.logger
|
9
|
-
config.verbose
|
4
|
+
config.root = Dir.pwd
|
5
|
+
config.store = Coverband::Adapters::RedisStore.new(Redis.new(db: 2, url: ENV["REDIS_URL"]), redis_namespace: "coverband_test") if defined? Redis
|
6
|
+
config.ignore = %w[.erb$ .slim$]
|
7
|
+
config.root_paths = []
|
8
|
+
config.logger = Rails.logger
|
9
|
+
config.verbose = true
|
10
10
|
config.background_reporting_enabled = true
|
11
11
|
config.track_gems = true
|
12
12
|
config.gem_details = true
|
13
|
-
config.use_oneshot_lines_coverage = true if ENV[
|
14
|
-
config.simulate_oneshot_lines_coverage = true if ENV[
|
13
|
+
config.use_oneshot_lines_coverage = true if ENV["ONESHOT"]
|
14
|
+
config.simulate_oneshot_lines_coverage = true if ENV["SIMULATE_ONESHOT"]
|
15
15
|
end
|
@@ -1,15 +1,15 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
Coverband.configure do |config|
|
4
|
-
config.root
|
5
|
-
config.store
|
6
|
-
config.ignore
|
7
|
-
config.root_paths
|
8
|
-
config.logger
|
9
|
-
config.verbose
|
4
|
+
config.root = Dir.pwd
|
5
|
+
config.store = Coverband::Adapters::RedisStore.new(Redis.new(db: 2, url: "redis://127.0.0.1:123"), redis_namespace: "coverband_test") if defined? Redis
|
6
|
+
config.ignore = %w[vendor .erb$ .slim$]
|
7
|
+
config.root_paths = []
|
8
|
+
config.logger = Rails.logger
|
9
|
+
config.verbose = true
|
10
10
|
config.background_reporting_enabled = true
|
11
11
|
config.track_gems = true
|
12
12
|
config.gem_details = true
|
13
|
-
config.use_oneshot_lines_coverage = true if ENV[
|
14
|
-
config.simulate_oneshot_lines_coverage = true if ENV[
|
13
|
+
config.use_oneshot_lines_coverage = true if ENV["ONESHOT"]
|
14
|
+
config.simulate_oneshot_lines_coverage = true if ENV["SIMULATE_ONESHOT"]
|
15
15
|
end
|