OOPSI - start with the end in mind?

There was a conversation recently where we were discussing:

Tip for writing scenarios: start with the When step, that’s the action.

vs

start with the end in mind - start with the Then step - because if you don’t know what it’s supposed to output, then what are you even doing?

With general agreement that starting with the Then being better, but the rationale for starting with the When being, “the reason I tell people to start with the When step is that it’s usually easier to think of what the action you’re testing is.”

The conversation wound up coming around to this article, which I thought was good and I’d share here.

Reading about OOPSI > ISPOO is a good way to put a smile on your face on a Friday morning. :smile:

2 Likes