Initializes printing constraints, prints header
information and starts the test timer
public start ( ParaTest\Runners\PHPUnit\Options $options ) | ||
$options | ParaTest\Runners\PHPUnit\Options |
public function run() { $this->verifyConfiguration(); $this->initCoverage(); $this->load(); $this->printer->start($this->options); }
/** * The money maker. Runs all ExecutableTest objects in separate processes. */ public function run() { $this->verifyConfiguration(); $this->initCoverage(); $this->load(); $this->printer->start($this->options); while (count($this->running) || count($this->pending)) { foreach ($this->running as $key => $test) { if (!$this->testIsStillRunning($test)) { unset($this->running[$key]); $this->releaseToken($key); } } $this->fillRunQueue(); usleep(10000); } $this->complete(); }