class Minitest::Reporters::HtmlReporter

def percent_errors_failures

The percentage of tests that failed
def percent_errors_failures
  ((errors+failures)/count.to_f * 100).to_i
end