Adds_report_of_LOC_coverage.patch

Dmitry Makurin , 2021-05-19 13:20

Download (847 Bytes)

View differences:

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