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

7 comments
Comment actions Permalink

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

0
Comment actions Permalink

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

0
Comment actions Permalink

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.

1
Comment actions Permalink

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
Comment actions Permalink

Heya!

 

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

1
Comment actions Permalink

Is there any chance that dotCover will ever git branch coverage?

1
Comment actions Permalink

We are doing some automated C# code coverage in Azure DevOps and came across this issue.
10 years later is there any chance that something like this will get some attention.

"Branch coverage is scheduled for the next versions." Very keen to know when that "next version" will be.

2

Please sign in to leave a comment.