Using Gherkin for Acceptance Criteria

I’ve had a mixed experience working with Gherkin and Cucumber, and the culprit has usually been the step definitions. Consider the following scenario: GIVEN the client is logged in WHEN the client accesses their portfolio THEN the client sees their balance AND the client sees an option to transfer funds This requires four methods to be declared which implement each step. The implementation of these methods tends to result in UI-tests as that is often the natural way to look at software....

August 25, 2021

The Backend and Frontend Story Divide

In this post I will tackle the idea of splitting user stories based on role, i.e., back-end user story, front-end user story. What is and isn’t a user story? To start this discussion we first have to agree on what a user story is. At the highest level, it is an invitation to a conversation. That conversation is where people (i.e., developers, business people) can examine the value proposition, discuss implementation complexity, evaluate cost/value trade-offs, identify dependencies and come up with a general approach to a solution....

May 5, 2021