Unable to link requirements to existing test cases - tfs

We're using VSTS and the CMMI template for our project. I'm facing an issue on the board where I'm unable to link existing test cases to the requirement.
I've tried to
Go to requirement level and add existing item and set the relation to 'Tested By' and added my test cases. I can see the linkage on the requirement level however the test cases don't show on the Requirement Board.
Go to Test case level and add linkage to existing item and chose 'Requirement', still test cases don't show on the Requirement Board.
Am I only able to add new test to a requirement but not link to existing test cases?

Related

Microsoft Test Manager 2015

Please see the picture below for reference. Does anyone know how to associate Test Runs to a PBI in TFS Microsoft Test manager. The 3 results I have circled below I had to manually associate each Test Run to the PBI. Is there a way to have them automatically link up? Test Cases automatically do this. (Tested By)
To associate automated test results with PBI, you could do this directly from test result page.
On the test results page, select the tests you want to link to PBI and choose the Associate tests to work item (link) icon.
Select the PBI from the list of suggested work items and choose Associate.

Still seeing TO DO status from the default workflow even after assigning a custom workflow for my project

I have created a custom workflow where tickets or issues are submitted then the order of workflow steps is:
review (ALL)
business justificatioN
in progress
verification (ALL)
deployment
testing
done
ON HOLD (ALL)
RETIRED (ALL)
I created the custom workflow by making a copy of the default workflow with TODO IN PROGRESS, and DONE Status however when you go to edit an issue in my custom workflow you still have the option to change the status to TO DO (from the default workflow) even though my custom workflow is clearly the one which is selected for the Scrum project.
What do I need to modify so that the TO DO STATUS from the default workflow isn't showing up at the top of my issues.
For example if an issue is created using the custom workflow the STATUS defaults to REVIEW as expected as it is the first step in the workflow. When trying to transition it to the business justification step while viewing the issue a STATUS of TO DO is visible.
How can I remove the option to change the status to TODO given it is not part of my custom workflow which is applied to the project and is instead part of the default workflow.
Can I remove the default workflow for the project? to achieve this (I am not sure how to completely remove the default workflow) so far I have only been able to assign my own.
This is possible if either:
The TODO status is still used in your custom workflow.
You're looking at an issue that does not use your workflow. This is possible if your "Workflow Scheme" is not configured correctly. A project has a "workflow scheme" that can contain multiple "workflows" for different "issue types". You can review these settings in your project's settings. The documentation is available here.

How do I customize the Test Result Work Item Template Definition in TFS 2015?

My question is simple: I have used WITAdmin in the past to add custom fields to various work item types in TFS. Most recently - to add time estimates to the Test Case work item template in TFS. However, when I use WitAdmin listwitd command on my project, I don't see anything for Test Result.
Is there any way to customize the work item template for test results in TFS? I want to add an additional test result steps beyond the ones that are already out of the box, i.e. pass, fail, blocked, not applicable.
Thanks,
There is no work item type which called test result in TFS. You can customize the Test Plan & Test suite & Test Case and add custom fields or define custom workflows to it, just without test result.
The test result is associated with MTM. If you want to customize Test Result Failure Type & Resolution Type, please refer the link from MSDN: Customize and manage the test experience [tcm and Microsoft Test Manager]
For more info, please take a look at this uservoice: Provide customization for test plan, test results.

How do you show failed test comments on Team foundation server

I have added comments on failed tests within tfs but these cannot be shown any where even when you click into the test. How can one show the comments entered on tests?
Presumably you're working in Team Web Access rather than the Test Manager client?
I'd be happy to be proved wrong on this but I don't believe you can view the comments directly in Web Access.
If you open up the test details pane (right hand side of your Test Plan view)
Then you can select Test Results in the Pane menu
If you double click the test result or click the Open in Microsoft Test Manager button (beside Refresh) then it will launch MTM (assuming you have it installed) and you will see more details including the individual steps and any comments you added.
You can also go to this directly in MTM on the Test tab and select Analyse Test Runs. Double click the run you want the details of.
If you're not using MTM then you could associate the test run fail with a Bug (click the Create Bug button on the test runner) and you test steps and comments will be added to the Bug Work Item steps to reproduce.
As rerwinRR mentioned, this is not possible in team web access. But you may vote for this feature wish:
http://visualstudio.uservoice.com/forums/330519-team-services/suggestions/11336064-give-possibility-in-team-web-access-to-see-the-com
In TFS 2015 web interface, open the TEST tab, Test plan, choose the test suite from the dropdown.
Choose the test case on the second pane.
Press the Show/hide details pane button from the second pane's toolbar.
When the third pane shows up, choose Test results from the Pane dropdown at the top right. You will see the list of test runs for the selected test case.
Doubleclick one of the test runs to see the details, including comments you have added to the steps.

TFS2012: Can CommonConfiguration support Team based setup on the web access?

The boards: Work/Backlog/product backlog/board(the stories/backlogitems) and on Work/board(tasks) can we have different column mappings per teams? Currently the type - value pairs are stored in CommonConfiguration, so it is project based, can we change it to be Team relative?
This totally depends on which update you are on (if you are using on-premise TFS). If your TFS deployment is Update 2 or higher - or you are using TFService - you can customize the "Kanban Board" (the board that shows work items on the backlog), link here: http://blogs.msdn.com/b/bharry/archive/2013/02/01/customizable-kanban-swim-lanes.aspx. This allows you to change the columns, per team, without changing the workflow of work items themselves.
As for the Task board, you can customize it, but only for an entire team project. This must also be done via the CommonConfiguration file.

Resources