public function PHPUnit_Framework_TestResult::startTest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Framework/TestResult.php \PHPUnit_Framework_TestResult::startTest()
Informs the result that a test will be started.
Parameters
PHPUnit_Framework_Test $test:
1 call to PHPUnit_Framework_TestResult::startTest()
- PHPUnit_Framework_TestResult::run in vendor/
phpunit/ phpunit/ src/ Framework/ TestResult.php - Runs a TestCase.
File
- vendor/
phpunit/ phpunit/ src/ Framework/ TestResult.php, line 319
Class
- PHPUnit_Framework_TestResult
- A TestResult collects the results of executing a test case.
Code
public function startTest(PHPUnit_Framework_Test $test) {
$this->lastTestFailed = false;
$this->runTests += count($test);
foreach ($this->listeners as $listener) {
$listener
->startTest($test);
}
}