test_stats() public static method

Retrieves stats about tests run. returns an array with the keys 'total', 'pass', 'run'
public static test_stats ( array $tests ) : array
$tests array a set of test results
return array has keys 'total', 'pass', 'run', 'error'
Example #1
0
 /**
  * @see \FUnit::test_stats()
  * @return array
  */
 public function testCounts()
 {
     return \FUnit::test_stats($this->tests, $test_name);
 }