Will "branch coverage" be included?

I'm wondering whether dotCover will provide branch coverage?

Example:

if (someValue)
{
  // do something
}


If someValue is always true in all tests then the false case is not covered. This is hard to find without branch coverage.

Best regards,
Urs

5 comments

Hello Urs!
dotCover 1.0 will have only statement coverage.
Branch coverage is scheduled for the next versions.

0

It's been six years by now. Will branch coverage ever be implemented?

0

Got a question about this at the booth today as well. Would be nice to have branch coverage e.g. with one-line if statements, null-coalescing operators etc.

0

Hello dotCover team,

I am using V2018.1.2. I still am do not see branch coverage, only statement coverage is available.

Is there a version in which statement coverage is available?

0

Heya!

 

I'm also very much interested in the branch coverage feature. When can we expect it? :)

0

Please sign in to leave a comment.