示例#1
0
 /**
  * Invoked after the test suite has ran, allowing for the display of test
  * results and related statistics.
  */
 public function afterRun()
 {
     $this->console->writeLn('');
     parent::afterRun();
 }
示例#2
0
 /**
  * Creates a ListReporter object, used to render a list of specs.
  *
  * @param Console $console A console for writing output
  */
 public function __construct(Console $console)
 {
     parent::__construct($console);
     $this->depth = 0;
 }
示例#3
0
 /**
  * The before run is used to start the test suite. It will contain many test
  * cases.
  */
 public function beforeRun()
 {
     parent::beforeRun();
     TestCase::setUpBeforeClass();
 }
示例#4
0
 public function afterSuite(Suite $suite)
 {
     $this->console->writeLn("##teamcity[testSuiteFinished name='" . $suite->getTitle() . "' duration='" . $this->getDurationTime(md5($suite->getTitle())) . "']");
     array_pop($this->depth);
     return parent::beforeSuite($suite);
 }