question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Apparently, 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

screen shot 2017-03-06 at 07 58 43

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

2reactions
nickmerwincommented, Mar 9, 2017
1reaction
nickmerwincommented, Mar 8, 2017

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found