Last active
December 9, 2015 15:00
-
-
Save ValentinMerlet/66c40e5108d6393dfc66 to your computer and use it in GitHub Desktop.
Behat : Hook BeforeScenarioScope
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @BeforeScenario | |
*/ | |
public static function prepare(BeforeScenarioScope $scope) | |
{ | |
$scenarioTitle = $scope->getScenario()->getTitle(); | |
var_dump($scenarioTitle);die(); // "Create a realizer_proposal" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment