Formatador XML para SimpleCov

module SimpleCov module Formatter class XMLFormatter RESULT_FILE_NAME = “coverage.xml” def format(result) xml = “<SimpleCov>n” xml << ” <summary percent_covered=”#{result.covered_percent.round.to_s}”” “” xml << “”relevant_lines=””#{result.total_lines}”” “” xml << “”lines_covered=””#{result.covered_lines}”” “” xml << …

Continuar lendo