Example #1
0
 /**
  * Show a nice list of statistics such as the amount of requirements, failed tests, etc.
  *
  * @author Yorick Peterse
  * @access Private
  * @static
  * @return Void
  */
 private static function show_statistics()
 {
     $tests = Colors::blue("Tests: " . self::$statistics['tests']);
     $failed = Colors::red("Failed: " . self::$statistics['tests_failed']);
     $success = Colors::green("Success: " . (self::$statistics['tests'] - self::$statistics['tests_failed']));
     $reqs = "Requirements: " . self::$statistics['requirements'];
     puts(PHP_EOL . "{$reqs} | {$tests} | {$success} | {$failed}");
 }