A custom VSTS extension that displays the latest test results for a test case on the work item form.
Details
Adds a custom control that you can add to the Test Case work item type
When loading the control, the extension will:
Check if it's loaded from a test case. If the currently opened work item is not a Test Case, an error will be shown.
Query VSTS for the test plans, suites and configurations in which this Test Case was included
For each test plan, suite and configuration will display the latest test result in a grid
From each entry in the grid, you can open the context menu to jump to the related test plan, suite or run
Getting started
Install the extension
Navigate to the customization page for the Test Case work item type in your process template. You might need to create a custom process template first. Refer to the documentation to get started with that. Then, add a new page to the work item type.
Then, add a new group to the new page
When the group is created, add the custom control to it
The control doesn't need any configuration, so you can just click OK
The Test Case work item type will now contain an additional tab that shows the latest test results for that Test Case
Screenshots
The "Test Results" tab on a Test Case
The context menu to jump to related test plan, suite or run
Contributing
Feel free to fork this repository and submit a pull request if you have any improvements!