/** * Skip this test. recursively mark all its children to be skipped. * * @param null * @return null */ public function skip() { parent::skip(); foreach ($this->suites as $suite) { $suite->skip(); } foreach ($this->cases as $case) { $case->skip(); } }
/** * constructor * * @param string $title * @param function $fn */ public function __construct($title, $fn) { parent::__construct($title, $fn); $this->result = new TestCaseResult($this); }