/** * Main execute method */ public function execute() { $this->triggerEvent(Core_Plugin::EVENT_START, null); $this->extractPUCommand(); Core_FileReader::main(); $this->readOptions(); $this->includeBootstrap(); $this->testFiles = Core_FileReader::getAll(); $this->applyXMLConfig(); $this->applyJUnitLog(); $this->testFiles = $this->triggerEvent(Core_Plugin::EVENT_AFTER_READ_FILES, $this->testFiles); $this->buildCommand(); $this->showInfo(); $this->executeCommand(); $this->writeJUnitLog(); $this->triggerEvent(Core_Plugin::EVENT_FINISH, null); //exit($this->hasError()?1:0); }