Visual Studio+ test cases
Hello, I want to use Visual Studio for managing test cases. I tried to import test cases as manual tests, but I faced with a problem of gathering results of test, such as: who, when and how many times ran tests, whether they passed or failed, etc. I will appreciate any help.
Re: Visual Studio+ test cases
Could you explain a bit more what you mean by importing a test case?
You can change the manual test case template in visual studio, but you need to ensure you share that template to your entire team or it can cause issues as the team collaborates with each other.
On the test result side, Visual Studio does not have an out of the box way to understand the notion of a test case - that is to say if you have created 100 test cases and you run 20 - it does not know 20/100 were executed, it only knows 20 have been.
However there is a way to overcome this and you should be able to get the information you are looking for from queries/reports out of TFS:
You can create a custom work item type called Test Case in Team Foundation Server. This work item can then be linked to your test cases and you can publish results and link them back to the work item. This will give you a history of test results for each test case that you can track. You can also use the work items themselves as the test cases (you lose version control if you take this apporach) and record pass/fails by build in that manner.
If that approach does not work for you (or your not comfortable in doing so) then you should be able to mine the TFS analysis cube to get the history of results for a specific test case.