class Minitest::Reporters::JUnitReporter
def initialize(reports_dir = "test/reports", empty = true, options = {})
def initialize(reports_dir = "test/reports", empty = true, options = {}) super({}) @reports_path = File.absolute_path(reports_dir) @single_file = options[:single_file] if empty puts "Emptying #{@reports_path}" FileUtils.remove_dir(@reports_path) if File.exists?(@reports_path) FileUtils.mkdir_p(@reports_path) end end