You are here

public function PHPUnit_Framework_TestResult::riskyCount in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpunit/phpunit/src/Framework/TestResult.php \PHPUnit_Framework_TestResult::riskyCount()

Gets the number of risky tests.

@since Method available since Release 4.0.0

Return value

int

1 call to PHPUnit_Framework_TestResult::riskyCount()
PHPUnit_Framework_TestResult::allHarmless in vendor/phpunit/phpunit/src/Framework/TestResult.php
Returns true if no risky test occurred.

File

vendor/phpunit/phpunit/src/Framework/TestResult.php, line 374

Class

PHPUnit_Framework_TestResult
A TestResult collects the results of executing a test case.

Code

public function riskyCount() {
  return count($this->risky);
}