Consider ExpectedException test methods fully covered
Consider ExpectedException test methods fully covered
Hi,
I include my test assembly in coverage information because I want to keep track of how much of my tests I am executing (some tests are skipped with [Ignore], e.g. long-running tests that I don't want to run all of the time).
Test methods with [ExpectedException] are considered not fully covered because the final } is not reached. It seems fair to consider them fully covered if that's the only uncovered part of the method.
- Gulli