Forum Discussion

scotmc's avatar
New Member
4 years ago

Re: TM4J - Using Gherkin Why Can't I enter "Or" and "If"

Apologies if this is in the wrong location. I could not find a board for TM4J.


New user to TM4J - not new to BDD/Gherkin.

We use "Or" and "If" quite frequently in our stories. I understand that when writing for Cucumber you want to use multiple scenarios instead, but this is for humans, why not allow Or and If rather than forcing users to create multiple tests that could be solved with one as the tester can easily decipher within a single scenario? This is especially compounded when the Or or If could be used during the Given section.


1 Reply