DotCover issue - doesn't see unit tests that cover else block after a type evaluation if statement
I think I've found an issue with dotcover, where it doesn't see unit test coverage for the else block of an if statement after a type evaluation.
For example, in the code sample below, if you have a unit test for the if block, and then one for the else block, it thinks the else block isn't covered:
if (myObject is Type1)
{
lines_of_code
}
else
{
more lines of code
}
Please sign in to leave a comment.