Question

Consider this controller method from an ASP.Net MVC3 project: enter image description here

Having run dotCover code coverage, the Details method has clearly been covered by a test, as indicated by the green highlighting (arrowed).

However, when I try to use ReSharper to navigate to "covering tests", it reports no coverage: enter image description here

dotCover clearly knows which tests have covered the code, as shown in the ReSharper test runner: enter image description here

So did I miss something? Shouldn't ReSharper be able to tesll me which tests covered a particular statement? Did I find a bug? Should I report it against dotCover, ReSharper or MSpec?

Was it helpful?

Solution

This is unfortunately a known bug with dotCover and it's not clear from comments to this bug report whether the problem is going to be fixed anytime soon.

BTW "Navigate to covering tests" is dotCover's functionality, not ReSharper's.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top