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.

[Question] block level coverage

See original GitHub issue

I’m seemingly can’t found a documentation on taking coverage with block precision level.

What I do? I’m using the method startJSCoverage() with Chromium. Here, I do not see an option to make it block level (detailed).

What am I missing? The coverage returns back (upon stopJSCoverage()) while isBlockCoverage is always false.

Is it possible to run coverage in precise mode?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
gulleryacommented, May 26, 2021

I’ve figured things out, seemingly, mostly the whole issue was due to my misunderstanding of isolate management. Thank you very much for the help in any case.

0reactions
gulleryacommented, May 25, 2021

I’ll try to play with it a bit more, in general will be able to just give here few command lines to run on my branch and you’ll get the output. But let me play a bit more with this.

BTW, I’m trying to turn on the debugger (well, pretty much almost the same as in the code you’ve sent me), but seemingly the code still get’s optimized - I’m judging from the coverage data self…

Read more comments on GitHub >

github_iconTop Results From Across the Web

Block Level Functional Coverage Example
Coverage : Block Level Functional Coverage Example · 2.1 The Transmit Channel. 2.1.1 Testing the transmit channel · 2.2 The Receive Channel. 2.2.1...
Read more >
Code Coverage Tutorial: Branch, Statement, Decision, FSM
Statement Coverage is a white box testing technique in which all the executable statements in the source code are executed at least once....
Read more >
What is the difference between block coverage and branch ...
Block coverage (or "basic block coverage") and branch coverage are two different measures of code coverage. Block coverage counts blocks ...
Read more >
What Is Branch Coverage & What Does It Really Tell You?
Branch coverage, as we've seen, is about whether all branches—or paths of execution—in an application are under test. If, in our test case, ......
Read more >
verification - Is sytem level testcase different from block level ...
Block level is typically more complete and explores all or most of the corner cases for rigourous coverage. The system level may not...
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