metro app unit test code coverage doesn't have result
-
Saturday, May 26, 2012 9:24 AM
Hi, I am developing a metro app using c#, then I create a new project with type "Windows Metro style --> Unit Test Library". After I add several test methods into the UT project and run it. I could get the test result but the problem is: I could not get "Code coverage information" (It is empty in "Code Coverage Results" window). I'm sure the "Unit Test Explorer" and "Code Coverage Results" windows are open. Could someone help?
BTW: no error or warning message during my operation.
Thanks.
dollar zhang
All Replies
-
Sunday, May 27, 2012 1:26 AM
After a period of time for searching, I might have find the reason. VS11 beta doesn't support code coverage for metro app. Refer to http://social.msdn.microsoft.com/Forums/en-US/vstest/thread/3451c3b2-25f3-4a2f-be5c-ef3c08ea607a for detailed info.
dollar zhang
- Marked As Answer by Vicky SongModerator Monday, May 28, 2012 10:42 AM
-
Monday, May 28, 2012 10:42 AMModerator
Hello Dollar,
Glad to hear you you have had your issue resolved, and thanks for sharins us the solution here.
Thanks.
Vicky Song [MSFT]
MSDN Community Support | Feedback to us


