Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have not see these links explicitly stated in the Agile literature I have read. So, I was wondering if this approach was correct: Let a story be defined as "In order to [RESULT], [ROLE] needs to [ACTION]" then

  1. RESULT generates system tests.
  2. ROLE generates acceptance tests.
  3. ACTION generates component and unit tests.

Where the definitions are the ones used in xUnit Patterns which to be fair are fairly standard.

Is this a correct interpretation or did I misunderstand something?

share|improve this question
Actually that makes good sense to me. We do something a little different, but what you have is actually pretty clear and easily translatable into the right areas of responsibility. – Akira71 Dec 12 '12 at 13:50

Yes, that's a pretty solid approach.

Role generating the acceptance tests may be a bit of a stretch, but at least it links the validation requirements to the presumed user of the feature (story).

Result and Action capture differing layers of verification, focusing on integration and unit testing. There can be a degree of overlap between those two aspects, but I think your approach works well enough.

Regarding xUnit Patterns book - if they are offering up templates, then they may well be within a hidden or secured site referenced within the book itself.

share|improve this answer
XUnit pattern was only the definition of the tests terminology rather than templates. Does that makes sense? – Sardathrion Dec 12 '12 at 16:20
@Sardathrion - yes, that makes sense. Sounds like the templates don't exist yet. – GlenH7 Dec 12 '12 at 16:39

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.