I installed ReSharper Ultimate 2016.3.2 on Visual Studio Ultimate 2013 12.0.40629.00 Update 5 with .NET 4.6.01055 and MSTest as a test runner. I also tested the following scenarios in Visual Studio Enterprise 2015 version 14.0.25431.01 Update 3.
I opened a small solution and covered all tests. The Coverage tab in the Unit Test Sessions window shows the coverage nicely:
But when I open any file, the code highlight says “Statement uncovered by tests in session All tests in Solution":
Also, right clicking on a class with coverage on the Coverage Tree and clicking on Show covering tests says “Code is not covered by tests in session All tests from Solution”.
A Warning appears in the execution log:
I tried the same thing with Continuous testing with the same results.
Then I switched Continuous testing off and the Coverage tab in the Unit Test Sessions window no longer shows percentages, everything’s 0%.
Restarting Visual Studio fixed that.
I tried clearing Resharper’s caches and restarting without success.
I have updated to 2017.1 EAP 1, but won't fix the issue.
Also I exported the coverage data in HTML and surprisingly the html webpage was showing the code highlighted properly:
I have uploaded the source code, the JetLogs obtained with "devenv.exe /ReSharper.LogLevel VERBOSE /ReSharper.LogFile", a Snapshot and the HTML export in my gdrive:
Any help would be appreciated.