I am using Windows 8 Pro and Visual Studio 2012 Ultimate (both RTM).
I create a Metro-style class library, and then the corresponding unit test library. Both target WinRT (not the .NET framework).
I can perform unit tests normally, but when I try to “Analyze code coverage for all tests”, the output window displays the results of the recovery and this. The Code Coverage Results window is grayed out.
From reading on the Internet, some cite the idea that code coverage is not included for WinRT builds, but I cannot confirm. I also tried to create a .testsettings file as needed in VS2010, and explicitly enable code coverage, and I got the same results.
Can someone confirm or deny that code coverage is not available for WinRT-oriented assemblers in RTM VS2012? I'm just trying to find out if any setting is missing, or if this is not possible.
source
share