« Summer Events for Agile Coaches | Main | Honing your Skills as an Agile Coach »

07 July 2011

TrackBack

TrackBack URL for this entry:
http://www.typepad.com/services/trackback/6a00e54ee21bf288340154338b89c6970c

Listed below are links to weblogs that reference When To Write Story Tests:

Comments

Feed You can follow this conversation by subscribing to the comment feed for this post.

I was discussing this very topic with a client yesterday. Also present was Benjamin Mitchell who told us how one of his teams used to mark the card with a yellow dot in the planning session to indicate tests needed to be written. The tester would then write the tests during the iteration and mark the card with another dot (I forget which colour) to indicate they were ready.

Great post. I'd never really thought there might be a difference between tests and criteria, but, when pointed out, it actually seems pretty obvious.

Where does BDD fit into this? Is that the Acceptance Criteria, but in the form of tests? Or is it not relevant at all in this context?

Thanks, Mike. I hadn't thought so much about the difference until recently. BDD is all about helping people express acceptance criteria and acceptance tests in a way that everyone can understand.

Thanks for sharing that, Allan. I've worked with several teams that use sticky dots to indicate the state of a story card. Although nowadays, with Kanban becoming more popular, it seems to be common to move cards into a column on the team board to indicate their state.

In my team, product owner takes the responsibility of specifying what the acceptance criteria would be before we even take the story for implementation in the sprint. This is an effort to keep ourselves from taking highly ready stories only. The PO comes from a technical background so he is capable of writing the criteria in gherkin but we don't require it to be. Plain english is considered also ready.

Team then demostrates the criteria using functional automated test tools or if thats not possible physical demonstration.

Thanks for sharing what your team does, Sachin. I think a lot of development teams would like to work with a PO who has time to do this before Sprint Planning. The only slight downside of having the PO do this alone is that there's a chance conversations with the team don't happen. Often the value of fleshing stories out with tests can help identify ways to build a simpler solution. Perhaps you don't have this issue with such a technical PO.

The way you described acceptance test seems to be similar to that of a test case. Is that right?

Chris, well sort of. Acceptance tests are test cases. However, not all test cases are acceptance tests. Acceptance tests are the subset of test cases that relate to checking that the agreed acceptance criteria have been met.

Nice post.
I usually have a req workshop before sprint planning, especially
with distributed teams, where the Scrum team turns the acceptance
criteria into a couple of test cases or examples. Works great to create a common understanding
across a distributed team.

Spot on! Acceptance criteria and acceptance tests are independent entities. The terminology can confuse learners easily. It's easy to forget that stories with acceptance criteria are not contemporary substitutes for funk specs! Thanks for the article

Great post. This is the very thing that I'm seeing many clients struggle with. Because they use them as synonyms vs. different entities it's driving a poor behavior.

This poor behavior is one that causes them to over-specify the story prior to it being brought into the sprint/iteration.

Verify your Comment

Previewing your Comment

This is only a preview. Your comment has not yet been posted.

Working...
Your comment could not be posted. Error type:
Your comment has been saved. Comments are moderated and will not appear until approved by the author. Post another comment

The letters and numbers you entered did not match the image. Please try again.

As a final step before posting your comment, enter the letters and numbers you see in the image below. This prevents automated programs from posting comments.

Having trouble reading this image? View an alternate.

Working...

Post a comment

Comments are moderated, and will not appear until the author has approved them.