/**
  * Converts a list of ReportTestSuites into an IntegrationTestSuiteResults object, suitable for
  * summary assertions
  */
 public static IntegrationTestSuiteResults parseReportList(List<ReportTestSuite> reports) {
   Assert.assertTrue("No reports!", reports.size() > 0);
   int total = 0, errors = 0, failures = 0, skipped = 0, flakes = 0;
   for (ReportTestSuite report : reports) {
     total += report.getNumberOfTests();
     errors += report.getNumberOfErrors();
     failures += report.getNumberOfFailures();
     skipped += report.getNumberOfSkipped();
     flakes += report.getNumberOfFlakes();
   }
   return new IntegrationTestSuiteResults(total, errors, failures, skipped, flakes);
 }