public function onWorkerCompleted(Worker $worker)
    {
        $info = $worker->getJobInfo();
        $this->times[$info->file] = $info->end - $info->start;
        $data = $this->suites[$info->file];

        if ($data) {
            $this->writeTestReport($this->suites[$info->file]);
        }
    }