Link Test Case Result to Story
Is it possible to somehow automatically link the most recent test case execution record result (from quality manager) to a user story? As part of our acceptance criteria, we link to one or more test cases and when they all pass, thats when we're allowed to transition to done (there may be other criteria, but this is one of them). However, in a subsequent iteration, that test case may be executed again and fail. It seems that the story (from the previous iteration) will show the most recent test result of that test case, even though now it's failing in the new iteration. From an auditing perspective, we'd prefer for it to show the test result used to determine that it was part of being done (Definition of Done), otherwise someone demonstrating to an auditor may get confused thinking "hey, this was done but the test case failed..."
What would be the best way to do this now? I'm thinking to associate the test result by using the "affects test result" link, but I don't think that is what it was intended for. Also, you have to search for it, which could be better...any ideas?
Accepted answer
One other answer
Showing the latest result in the rich hover of the testcases in the story is by design as this shows the latest state of the TER. The affects test result is typically used when a result has failed and a defect has been created. Using this might have an impact on some reports which would be misleading.
To clarify your question, once a story is marked "Done", do you expect the links not to be updated in the Story?
Thanks,
Deepa
Comments
I do see the merit in the design decision to show the most recent test result of all test execution records. So to answer the question: do I expect the links not to be updated whend Done? No, they can be. Perhaps a better design would be to show the "Validating Test Result" AND the "Most Recent Test Result". The Validating Test Result would be, as you described, the most recent test result when the story was transition to Done...
Comments
Patrick Paquette
Oct 03 '13, 1:43 p.m.Perhaps transitioning to Done in the story can do this for you?