/** * Execute the method under test and generate a test for it. * * @return void */ public function start() { try { $executionResult = $this->runner->run(); } catch (AbortException $ex) { $this->inputHistory->saveHistoryToFile(); return; } $this->inputHistory->saveHistoryToFile(); $this->rendererService->render($executionResult); if ($this->globalComputedConfig->isGenerateSpec()) { $this->specRenderer->genSpec($executionResult); } }