These are chat archives for Behat/Behat
Hi ! I am new to Behat, trying to understand if Behat can be used to write evil stories (https://www.owasp.org/index.php/Agile_Software_Development:_Don%27t_Forget_EVIL_User_Stories) .... has anyone seen this being used to perform security testing ?
Also are there any lessons learned/gotchas you can share as part of getting Behat setup within the SDLC of your organization ? any resource would be helpful. Thanks in advance!
I am not sure what you meant by "if someone develops a context" , if I understand correctly - with Behat, looks like that the functions need to annotated with the patterns ( @when etc..)... so is it fair to say that before I can start using behat, I need to manually annotate the existing functions in my code base which I tend to use as part of my scenario ?
Behat uses php-doc annotations to bind patterns to FeatureContext methods: