Flexibility

The readability of Cucumber features helps teams learn to use a ubiquitous language when talking about the system they’re building. This is a really important benefit, because that consistent use of terminology helps reduce misunderstandings and allow communication to flow more smoothly between everyone on the team.

So, we want to encourage our feature authors to be consistent about the nouns and verbs they use in the Cucumber features, because it helps make features that can be readily understood by anyone on the team. Equally, we also want feature authors to be able to express themselves as naturally as possible, which means they may often use slightly different phrasing to mean exactly the same thing. This is fine; in fact, ...

Get The Cucumber for Java Book now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.