/** * Callback called on a spec start. * * @param object $report The report object of the whole spec. */ public function specStart($report = null) { parent::specStart($report); $this->_progressBar(); }
/** * Callback called before any specs processing. * * @param array $args The suite arguments. */ public function start($args) { parent::start($args); $this->write("\n"); $this->_progressBar(); }
/** * Callback called before any specs processing. * * @param array $args The suite arguments. */ public function start($args) { $this->_header = false; parent::start($args); $this->write("\n1..{$args['total']}\n"); }
/** * Callback called after a spec execution. * * @param object $report The report object of the whole spec. */ public function specEnd($report = null) { parent::specEnd($report); if (!$this->enabled()) { return; } $this->_collector->stop(); }
/** * Callback called before any specs processing. * * @param array $args The suite arguments. */ public function start($args) { $this->_header = false; parent::start($args); }