/** * 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(); }
/** * 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; }
/** * The before run is used to start the test suite. It will contain many test * cases. */ public function beforeRun() { parent::beforeRun(); TestCase::setUpBeforeClass(); }
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); }