/** * @When /^(?:|I )start describing (?:|the )"(?P<class>[^"]*)" class$/ * @When /^(?:|I )have started describing (?:|the )"(?P<class>[^"]*)" class$/ */ public function iStartDescribing($class) { $this->applicationTester = $this->createApplicationTester(); $this->applicationTester->run(sprintf('describe %s --no-interaction', $class), array('decorated' => false)); }