public function PHPUnit_Framework_TestResult::stopOnSkipped in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/TestResult.php \PHPUnit_Framework_TestResult::stopOnSkipped()
Enables or disables the stopping for skipped tests.
@since Method available since Release 3.1.0
Parameters
bool $flag:
Throws
File
- vendor/
phpunit/ phpunit/ src/ Framework/ TestResult.php, line 965
Class
- PHPUnit_Framework_TestResult
- A TestResult collects the results of executing a test case.
Code
public function stopOnSkipped($flag) {
if (!is_bool($flag)) {
throw PHPUnit_Util_InvalidArgumentHelper::factory(1, 'boolean');
}
$this->stopOnSkipped = $flag;
}