class Minitest::Reporters::JUnitReporter
def report
def report super puts "Writing XML reports to #{@reports_path}" suites = tests.group_by(&:class) if @single_file write_xml_file_for("minitest", tests.group_by(&:class).values.flatten) else suites.each do |suite, tests| write_xml_file_for(suite, tests) end end end