Project

General

Profile

Feature #44345 » enable-simplecov-cover_views-and-track_tests.patch

Enable cover_views and track_tests options - Go MAEDA, 2026-09-10 07:54

View differences:

test/test_helper.rb
19 19

  
20 20
if ENV["COVERAGE"]
21 21
  require 'simplecov'
22
  SimpleCov.start 'rails'
22
  SimpleCov.start 'rails' do
23
    cover_views # Include app/views templates in the report
24
    track_tests # Track which tests execute each line
25
  end
23 26
end
24 27

  
25 28
$redmine_test_ldap_server = ENV['REDMINE_TEST_LDAP_SERVER'] || '127.0.0.1'
(9-9/9)