Example #1
0
 /**
  * Get the footer for a test collection that had tests with
  * failures or errors
  *
  * @return string
  */
 private function getFailedFooter()
 {
     $formatString = "FAILURES!\nTests: %d, Assertions: %d, Failures: %d, Errors: %d.\n";
     return "\n" . $this->red(sprintf($formatString, $this->results->getTotalTests(), $this->results->getTotalAssertions(), $this->results->getTotalFailures(), $this->results->getTotalErrors()));
 }