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.

Issue Description

It would be great if there was a way to add code coverage, either out of the box, or with another package like @peeky/coverage and then being able to pass --coverage

  • CLI output
  • Report output (istanbul)
  • UI

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
Akryumcommented, Aug 30, 2021

Implemented very fast coverage collection in https://github.com/Akryum/peeky/commit/ae91f10716ba936b3780229572b0a7d99f1ca443

It’s using V8 native coverage system, so it’s FAST (compared to instanbul which is slow because it uses babel and it’s not native).

1reaction
Akryumcommented, Feb 18, 2022

I’ve completely refactored the coverage system, now using c8 to generate reports

https://github.com/Akryum/peeky/commit/a086c1560347a2b59ee26710687141a52cee628d

Read more comments on GitHub >

github_iconTop Results From Across the Web

Code coverage - Wikipedia
In computer science, test coverage is a percentage measure of the degree to which the source code of a program is executed when...
Read more >
Everything you need to know about code coverage - Codegrip
Code coverage is a software testing metric that determines the number of lines of code that is successfully validated under a test procedure,...
Read more >
Codecov - The Leading Code Coverage Solution
Codecov is the leading, dedicated code coverage solution. Try Codecov for free now to help your developers find untested code and deploy changes...
Read more >
Code coverage testing - Visual Studio (Windows)
Code coverage is counted in blocks. Block is a part of code with exactly one entry and exit point. If the program's control...
Read more >
Code Coverage vs Test Coverage: A Detailed Guide
Code coverage is a white-box testing technique performed to verify the extent to which the code has been executed. Code coverage tools use ......
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