I have been playing around with TFS (Team Foundation Server) on my visual studio 2012.
I went to Work Items and I saw My Bugs,My Tasks,My Test Cases.
All are empty at the moment. I want to know how can I set up a test case in TFS > Work Items > My Test Cases? Or Add Bugs in My Bugs.
I also read somewhere - Cant remember now - You can actually edit the my test case screen to some of your own test case criteria.
Anyone know's about this or where I can start?
These are just Queries that run over all the work items. Users with appropriate permissions can edit them, but the changes will apply to the whole team.
You can copy and paste them from Shared Queries into My Queries and work on them.
The way they work is looking for any work item assigned to the viewer of the query (using a variable called #Me in the filter) that has the Bug / Task / Test Case Work Item type and is not closed.
Here's an example of "My Tasks" from my MSF Agile Project:
When you view the results, there is button in the top right called "Edit Query" to get this view.
You can create new bugs , or other work items by clicking on the team menu. You can then create new work items and assign them to yourself or other members of your team
Related
I have a Visual Studio project with a Selenium test. For the test, I can select the “Associate to Test Case” option, but this displays a list of test case associations and it seems that I can only add test cases to this list. If I decide to replace the associated test case with another one, how can I remove from the list the one that I no longer want to be associated?
I created a new Visual Studio project with the test by copying a similar project that I had made previously, and I obtained a new project with an old test case associated. Why did this happen? What do I need to do differently to prevent it?
On Azure DevOps, find the unwanted Testcase you want to remove from the association.
Go to the tab "Associated Automation" and click on the "Clear" button.
Once you do this, your test case will be removed from the list of associated test cases inside VS.
Here is a picture of where you can find this button
I'm noticing the asterisk next to Test Plans in my view on Visual Studio Team Services. It shows next to the the text in the same manner it shows for items without saved changes. I want to remove the asterisk.
I made sure existing Test Plans were Saved and Closed. Even closed and reopened VSTS. I made sure to all switches were off from the Preview feature menu as suggested by the similar question below.
"What are the asterisks on some Team Services menu items?"
Asterisk next to Test Plans in Team Services.
That’s because we use new Test Plans hub to manage VSTS test plans now.
Introducing the new hub for Test Plans! Not only can you add, edit,
and delete plans from this page but also find and favorite plans
across your team and the project. We pioneered this type of experience
in Dashboards, Queries, and Plans. This is another step to bring this
consistency across the product.
More details, you can refer the release note for Manage test plans using the new Test Plans hub.
With our TFS 2015 source control we require developers to check-in changes against work items.
However, we've had a couple of instances where a developer has checked in against one work item within our development branch, but then when merging to our QA branch they've checked in the merged changes to a different work item. An example of this is where a bug has been created underneath a PBI, the changes in dev have been checked in against a task under the bug, but then merged to QA against the PBI itself. This causes us issues with traceability.
I've seen that it's possible to add a check-in policy of "Work Item Query Policy". I'm just wondering if there is a way to write a query that will determine if the work item of a check-in after a merge matches the work item of the source changesets? I'm not necessarily after the exact query (though it would be lovely if someone could provide one :) ), really I'm just wondering whether it's possible or not to have a query to do this - i.e. is the information available to queries in TFS?
You can't do this with the existing policies, you'd need to build a custom policy.
So, technically this is possible. You can access the VersionControlServer object through the PendingChanges object:
this.PendingCheckin.PendingChanges.Workspace.VersionControlServer
You can use that to query the history of the branch in question and grab the work items associated to the check-ins in that branch.
You can check the associated workitems to the current workitem:
this.PendingCheckin.WorkItems
You could probably even provide the option to auto-correct by adding the correct work items to the checkin upon validation.
One of my policies provides an example on using the VersionControlServer from a policy.
After (or before) we convert from TFS 2012.2 to TFS 2015.3 (which we have done just fine in a test run) we would like to revert our team project to the standard TFS 2015 Agile process template, and no longer use the customized agile process that we had modified from TFS 2012. We are quite willing to delete all of our work items and start over, but need to keep the team project history and change sets. Anyone know how to do this? Answers to prior questions on this did not address this situation. Thanks.
There is no easy way to do it. Basically the steps require you to use a lot of witadmin commands. Start by deleting any work item types that were added and don't exist in the default template.
Then push the standard work item definition for each work item type.
Then push the categories
Then push the process configuration
Then delete any fields that are no longer used
That should bring you back to the standard template.
An alternative you could try is to use the WitMorph project. You can write a set of rules to migrate your data back into working order.
I am doing a working semester right now, with the course of study bachelor of business computing. I am not an expert in coding (think got some OK basics) nor I am a 100% fluent in English as my 2nd language so be a bit gentle on mistakes or "bumpy" formulations.
My Task:
I am working on a template, which will be handed to the company's project managers to make it easier for them to "load up" backlogs into TFS and assign tasks via MS Project.
The template itself is kinda finished right now, but I have one more problem to tackle.
Automatizing the "Create Relationship Process" between Backlog Items and Tasks
TFS cant create "Parent-Child-Relationships" with the "Parent Backlog" not published yet.
This means, I have to find a way (thinking of a macro/VBA) to create the relationships AND to publish some items of MS Project first, then creating the relationship and publish the rest.
Macro Start --> publish all backlogs --> creating relationships --> publish relations + tasks --> Macro End
The tricky part for me is, that it has to be as simple and intuitive as possible to use.
I hope I managed to impress myself at least a little bit understandable and someone has a little help for me.
I used Google and the Stackoverflow Search, but didn't get a satisfying answer.
There is out of the box integration between TFS and both Excel and MS Project. If you install Team Explorer you will get a "Team" tab in both products.
Well it was my own bad.
I only tried to for testcases the first 5-10 Tasks/Backlogs. But for MS Project + Tfs you need to fix all "publish errors" to get the connections to work #tfs.
Greetings Declade