Branch coverage
See original GitHub issueApparently, Coveralls now supports branch coverage.
https://github.com/lemurheavy/coveralls-public/issues/31#issuecomment-284375195
I don’t see the changes to the web API documented yet, but I do see that the Node client seems to support it via the branches
key. branches
is a sibling of coverage
in the dictionary the client submits to Coveralls.
https://github.com/nickmerwin/node-coveralls/commit/15750503b69c3143b3020fa5d4fe4fc1d455356e https://coveralls.io/github/nickmerwin/node-coveralls?branch=master
Issue Analytics
- State:
- Created 7 years ago
- Comments:12 (12 by maintainers)
Top Results From Across the Web
What Is Branch Coverage & What Does It Really Tell You?
Branch coverage is a metric that indicates whether all branches in a codebase are exercised by tests. A "branch" is one of the...
Read more >Branch Testing - Tutorialspoint
Branch coverage is a testing method, which aims to ensure that each one of the possible branch from each decision point is executed...
Read more >1.3. Branch Coverage
Branch coverage is a requirement that, for each branch in the program (e.g., if statements, loops), each branch have been executed at least...
Read more >Code Coverage Tutorial: Branch, Statement, Decision, FSM
Branch Coverage is a white box testing method in which every outcome from a code module(statement or loop) is tested. The purpose of...
Read more >Branch Coverage Testing in White Box Testing - Javatpoint
Branch coverage technique is used to cover all branches of the control flow graph. It covers all the possible outcomes (true and false)...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@jvarho great catch, ok that’s fixed now:
https://coveralls.io/builds/10504337/source?filename=coveralls%2Fapi.py#L184
@TheKevJames ah good call, that’s fixed now – branch coverage won’t show for a build when total branches is zero, so no need for that extra check.