public function PHPUnit_Util_PHP::runTestJob in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpunit/phpunit/src/Util/PHP.php \PHPUnit_Util_PHP::runTestJob()
Runs a single test in a separate PHP process.
Parameters
string $job:
PHPUnit_Framework_Test $test:
PHPUnit_Framework_TestResult $result:
Throws
File
- vendor/
phpunit/ phpunit/ src/ Util/ PHP.php, line 39
Class
- PHPUnit_Util_PHP
- Utility methods for PHP sub-processes.
Code
public function runTestJob($job, PHPUnit_Framework_Test $test, PHPUnit_Framework_TestResult $result) {
$result
->startTest($test);
$_result = $this
->runJob($job);
$this
->processChildResult($test, $result, $_result['stdout'], $_result['stderr']);
}