Esempio n. 1
0
 /**
  * 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();
 }
Esempio n. 2
0
 /**
  * Callback called before any specs processing.
  *
  * @param array $args The suite arguments.
  */
 public function start($args)
 {
     parent::start($args);
     $this->write("\n");
     $this->_progressBar();
 }
Esempio n. 3
0
 /**
  * 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");
 }
Esempio n. 4
0
 /**
  * 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();
 }
Esempio n. 5
0
 /**
  * Callback called before any specs processing.
  *
  * @param array $args The suite arguments.
  */
 public function start($args)
 {
     $this->_header = false;
     parent::start($args);
 }