Will "branch coverage" be included? Follow
I'm wondering whether dotCover will provide branch coverage?
// 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.
Please sign in to leave a comment.
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.
Dear Joel, Harald-René, Michael, Bob, Jlgartee, Oliver, Stefan, Joose, Wish and Edwin.
Thank you for the feedback. The feature request has indeed been shelved for quite a while.
Now it's getting back to the team's roadmap.
The task will require major rework of our key subsystems, so it's hard to provide any ETA at the moment.
But the team is going to start corresponding ground work and prototyping during the next release cycle.
I'm looking forward for this fix/feature. My company consider to move from Visual Studio to Rider as we see some advantages that stand behind it, but coverage tool is something we use in our daily routine and I can't imagine to use it without branch coverage included. I would be more than happy to see any progress on that topic here.
Is there any chance that dotCover will ever git branch coverage?
Hi Ruslan Isakiev, Maarten Balliauw,
Version 1.0 is now a while ago, so 'next versions' should already have happened.
As there are more and more handy branch constructs, this would be a very important feature, otherwise the coverage is very misleading and does not help to ensure a minimum of test coverage for all the different branches of a method.
Could you ask the product owner if this is on the roadmap and when it is planned to come true?
Thank you very much
I like it. I would really make use of that function
I'm also very much interested in the branch coverage feature. When can we expect it? :)
This bug is open since 2010 now. DCVR-234
This is really horrible handling of critical issues and even worse communication. :(
It's been six years by now. Will branch coverage ever be implemented?
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.
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?
I would think after 10 years, this should be available or JetBrains should just tell us they are not going to do it (btw, it works in IntelliJ).
Just ran across this with ternary and null coalescing operators. It's very misleading.
Fingers crossed this feature is added soon 😊
dotCover 1.0 will have only statement coverage.
Branch coverage is scheduled for the next versions.
Well, just recognized that dotCover claiming a coverage of 99% but Visual Studio Coverage says 93,43% for the same class...
I think the difference is caused by dotCover still does not support branch-coverage? Or there are other reasons that can explain that difference?
Stand-alone app: dotCover 2022.1.20220418.200937
Edit_2022-06-22-15-19: Indeed, dotCover still not supports branch-coverage...
Sounds great. I will continue to use the coverage built into the CI pipeline for now as I have nothing locally that gives branch coverage. Looking forward to this implementation!
Ruslan Isakiev We understand that there is significant effort involved. If you have updated information, even that there is no change at the moment, we would love to follow this.