DEV Community

Discussion on: How do you name your tests?

Collapse
 
n_develop profile image
Lars Richter

Readability is key. And yes, this pattern is readable.
That's why I do like the Given_[Preconditions]_When_[TestedState]_Then_[ExpectedBehavior] pattern. It also reads like a normal sentence.