Reputation: 4788
I want to link test run results to user story to add more traceability on board for all team members.
I've found that I can add link for New
and Existing
items, but there I can find only Work item type
: Bug, Blocker, Epic, Feature, Test Case, User Story etc.
If I add link to test case, I will see only test case itself (test steps) and can't find any information about this test case in some test suit or test run results.
I've explored VSTS documentation: Link user stories, issues, bugs, and other work items and Linking, traceability, and managing dependencies.
As I understood, there is no such functionality right now in Azure DevOps (VSTS).
Upvotes: 3
Views: 7014
Reputation: 43
The above mentioned third party extension "View Latest Test Results" can be added only to a Test Case. And it is the only one extension of that type and it is the only way to find links of a test case to the artifacts in the Test Plan (Test suites, Test Results) via Azure DevOps Board's Query. Association with a User Story can be determined if your test case is linked to a user story and you create a query that shows linked test cases. They you have to open each test case one by one and look at what extension shows. Surely there is a way to use Azure DevOps REST API and do any type of custom coding.
Upvotes: 0
Reputation: 41775
As you said, currently there is no such thing in Azure DevOps, but there is a great extension to add the test run results in the test case.
The (free) extension called View Latest Test Result, after you install it you need to modify the process template (to add the results) and then you got this:
Upvotes: 1
Reputation: 4788
On Developer Community I found opened ticket for it:
Need ability to link Test Results back to ANY work item type, especially User Stories
I did up vote, but it seems that for now I can only wait for this feature.
Upvotes: 1