Project

General

Profile

Feature #35259 » Adds_report_of_LOC_coverage.patch

Dmitry Makurin , 2021-05-19 13:20

View differences:

test/coverage/html_formatter.rb (revision 535ca38e6582445af0b924fbafaf734452636f41) → test/coverage/html_formatter.rb (date 1621419323899)
33 33
            file.puts template('source').result(binding).force_encoding('utf-8')
34 34
          end
35 35
        end
36
        puts output_message(result)
37
      end
38

  
39
      def output_message(result)
40
        "Coverage report generated for #{result.command_name} to #{output_path}. #{result.covered_lines} / #{result.total_lines} LOC (#{result.covered_percent.round(2)}%) covered."
36 41
      end
37 42

  
38 43
      private
    (1-1/1)