Is there a way how to get tags for a scenario in Behat FeatureContext in which the method is being run in?
my.feature @SPRF1 Scenario: My scenario Given something is done
FeatureContext class FeatureContext implements \Behat\Behat\Context\Context { /** * @Then something is done */ public function somethingIsDone() { $tags = $this->getScenarioTags(); // this doesn't exist } }
Aucun commentaire:
Enregistrer un commentaire