Gets the number of detected failures.
Return value
integer
File
- drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestResult.php, line 506
Class
- PHPUnit_Framework_TestResult
- A TestResult collects the results of executing a test case.
Code
public function failureCount() {
return count($this->failures);
}