Forum member

mwoinoski

2 posts

Posts by mwoinoski

  1. Closing brace reported as not covered by tests

    " //ncrunch: no coverage" after the closing brace solves the problem. Thanks for the quick response!

  2. 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…