Daily Usage Issues

Metrics page doesn't show coverage for ONE file

Started by ThatGuyDuncan on 1,937 views

I have a class defined in two files, each "public partial class C". One is generated, so I don't test much of it. The other file contains my bespoke logic, so I test that to 100%.

Last night, probably around 23:00, I noticed that the Metrics report was not showing 100% anymore -- it's not showing any number at all. Other files, when untested, report 0%. When I open the file, there are no cheerful dots indicating that a line is / is not under test. When I look at the metric for the other partial file, it reports test coverage to 34.48%, even though it's only a POCO (and therefore almost entirely untested).

Any ideas what I might have bonked in the setup to cause this behaviour?

[img=https://1drv.ms/u/s!AjkV7Vi7_yS6iL5ZEzELXeim3LOeOg?e=wV3kEd]screencap[/img]
... and a few hours later, it's back to normal. I wiped out my local repo and re-cloned, so I'll credit that with fixing the problem. :)
Hi, thanks for sharing this problem.

This doesn't look like behaviour by design. I'm thinking that it might be something caused by corruption in the coverage database, in which case a reset of the engine and rerun of your tests would have a good chance of resolving the issue.

Please let me know if you find a way to reproduce the issue!

Post a reply

Log in to reply.