I have a simple unit test project on Visual Studio 2012 Professional. I want to open this unit test using Microsoft Test Manager and run it. Is this possible? How do I do this? Thank you.
1 Answers
In order to run unit tests through MTM you need to have your project checked-in into the TFS. You need to associate your manual tests created in MTM to your unit tests written. Later in the MTM you need to create a plan, which will contain all you tests. Your also need to create build of your unit test script and associate it with the test plan. These build include the executable of you script, and need not to be updated unless your script is changed.
Follow some links you will find out how to create a build and more about MTM:
http://visualstudiomagazine.com/articles/2012/04/11/creating-a-build-definition-in-tfs.aspx
http://boldradius.com/blog-post/UwOLcQEAAJV04Pl3/automating-builds-with-tfs-build
http://msdn.microsoft.com/en-us/library/vstudio/jj635157(v=vs.110).aspx