function WorkAllocator::__construct
Parameters
GroupedTestClassInfoList $groupedTestClassInfoList: The tests to allocate to workers.
int $totalBins: The number of bins available for allocation.
int $binIndex: The current bin.
File
-
core/
tests/ Drupal/ TestTools/ TestRunner/ WorkAllocator.php, line 45
Class
- WorkAllocator
- Allocates available tests to test workers.
Namespace
Drupal\TestTools\TestRunnerCode
public function __construct(public readonly array $groupedTestClassInfoList, public readonly int $totalBins = 1, public readonly int $binIndex = 1) {
$this->process();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.