Esempio n. 1
0
 /**
  * Print out currently run test
  */
 public static function setUpBeforeClass()
 {
     global $wgAnnotateTestSpeed;
     error_reporting(E_ALL);
     $testClass = get_called_class();
     echo "\nRunning '{$testClass}'...";
     self::$testRunTime = microtime(true);
     self::$numberSlowTests = 0;
     if ($wgAnnotateTestSpeed) {
         WikiaTestSpeedAnnotator::initialize();
     }
 }