/** Run the test suite. */ public function run() { foreach ($this->aResults as $sPath => $mResult) { try { $oTest = new weeUnitTestCase($sPath); $fBefore = microtime(true); $iMemoryUsed = $oTest->run(); $this->addResult($sPath, 'success', microtime(true) - $fBefore, $iMemoryUsed); if ($oTest->hasExtData()) { $this->aExtData[$sPath] = $oTest->getExtData(); } } catch (SkipTestException $o) { $this->addResult($sPath, 'skip'); } catch (Exception $o) { $this->addResult($sPath, $o); } } }