Skip to content
#

coverage-report

Here are 237 public repositories matching this topic...

PragTob
PragTob commented Jul 5, 2020

We have a problem: if files aren't loaded/required we don't have branch data. If they are added through track_files we give it 0/0 branches which we show as 100% coverage (all possible branches are covered).

That math is "wrong" though here because there are branches but we don't know what they are. We should probably count total branches here as "unkown" and establish that in our "math unive

Feature Branch Coverage good first issue
typescript-coverage-report
elenev
elenev commented Oct 9, 2020

If I understand it correctly, right now this package isn't compatible with Windows because there's no windows version of LCOV. And trying to run the genhtml Perl script runs into errors because of Windows paths.

Locally, I've gotten around this by installing LCOV in WSL. Then, it's two lines of code:

First, I replace the slashes in lcov.info:
``run(`bash -c "tr '\\' '/' < coverage/lcov.i

help wanted good first issue

Improve this page

Add a description, image, and links to the coverage-report topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the coverage-report topic, visit your repo's landing page and select "manage topics."

Learn more