Forum member
mwoinoski
2 posts
Posts by mwoinoski
-
Closing brace reported as not covered by tests
" //ncrunch: no coverage" after the closing brace solves the problem. Thanks for the quick response!
24 Jun 2018 23:11 UTC
-
Closing brace reported as not covered by tests
When testing the following block of code, NCrunch reports all code as covered by tests except the closing braces of the "if" blocks. But if I put the closing braces at the end of the preceding lines of code, NCrunch reports 100% coverage. If I replace "yield return" with a plain "return", NCrunc…
24 Jun 2018 17:53 UTC