Closing braces sometimes not being included in code coverage

Answered

Hi all,

I am experiencing an issue with dotCover where, in some circumstances, the closing brace of a method/constructor is highlighted as not being covered...

Has anyone else witnessed this, and if so, what's the solution?  We have a 100% coverage on our code and situations like this are making that rather impossible :)

nCover.png

Thanks in advance,
Jim

4 comments

Addendum: I have gotten around this issue by using the following

DOTcOVER.png

Regards,
Jim

0
Hi Jim,

Unfortunately, there's a known issue with closing braces in dotCover: dotCover considers as uncovered closing braces in methods that always return with exception.
We have a corresponding issue in our tracker: http://youtrack.jetbrains.com/issue/DCVR-4846. You are welcome to track its status, vote and comment.
Sorry for the inconvenience. 

Regards.
0

I do still have this issue (VS 2015) but I do not have sufficient permissions to view the content from the the link you provided. (I am logged in...)

0

Please sign in to leave a comment.