Thanks for reminding me that. I was getting ahead of myself. I did
communicate and share/validate/verify with stakeholders. But, yes, I
was trying to push it. Gherkin and Behat have a place in my toolset
and I promise too keep your wisdom in mind when I use it again. Thanks
On Apr 17, 10:54 pm, Konstantin Kudryashov <
ever....@gmail.com> wrote:
> You cannot use multistring arguments in any place other than after steps. That's why they are called multistring arguments - because they are just arguments to steps.
>
> Remember, that Behat was not developed to replace you unit or specification testing framework. Behat, Cucumber, Gherkin and Scenario BDD are all about describing testable business value expectations about future product, not about testing your product INTERNALS.
>
> You should always balance between business value research and implementation details. Your features should firstly tell a story about future product behavior, not about it's inner implementation.
>
> Pretend, that *.feature files is a simple talk from your product owner. I'm sure, you never hear:
>
> Then I should see line1 newline line2 newline line3 newline line4
>
> Instead you always hear something like:
>
> Then I should see line1
> And I should see line2
> And I should see line3
> But I should not see line5
>
> Don't describe your non-existing (yet) product implementation details with features - use them to describe future product behaviors with everyday business language, like your customers do!
>
> --------------------------------------------------Konstantin Kudryashov (everzet)