function AbstractPhpProcess::runTestJob
Runs a single test in a separate PHP process.
Throws
MoreThanOneDataSetFromDataProviderException
File
-
vendor/
phpunit/ phpunit/ src/ Util/ PHP/ AbstractPhpProcess.php, line 137
Class
- AbstractPhpProcess
- @no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
Namespace
PHPUnit\Util\PHPCode
public function runTestJob(string $job, Test $test, string $processResultFile) : void {
$_result = $this->runJob($job);
$processResult = '';
if (file_exists($processResultFile)) {
$processResult = file_get_contents($processResultFile);
@unlink($processResultFile);
}
$this->processChildResult($test, $processResult, $_result['stderr']);
}