These are chat archives for Behat/Behat

7th
Aug 2017
olandim2
@olandim2
Aug 07 2017 17:44
When should I use tables as arguments to steps and tables with scenario outlines?
Bit Wombat
@bitwombat
Aug 07 2017 22:55
@olandim2 Let's tease that apart a little bit. Are you asking when you should use tables as arguments as a separate question?
Or when one vs. the other?
Bit Wombat
@bitwombat
Aug 07 2017 23:03
I actually have a discussion topic about those... do tables bring too much detail into the test? "Given a user named Bob" vs a generic "Given a user". If I use the latter, I end up with "Bob" in my context class, which means my contexts are unique, so I can't extract out similar code and I lose.