[Bug]: v8
coverage provider has too much tradeoffs to be actually reliable
#15360
Labels
v8
coverage provider has too much tradeoffs to be actually reliable
#15360
Version
30.0.0-alpha.6-dev
Steps to reproduce
Use the
v8
coverage provider.Expected behavior
I expect the coverage report to reflect the actual coverage state of the project.
Actual behavior
The coverage report is likely to not reflect the actual coverage state of the project.
Additional context
An issue was opened years ago about the
v8
coverage provider tradeoffs: #11188. It was never followed by actions, but it should have been. The points raised in this issue are valid: thev8
coverage provider is not reliable and can't be used to test the coverage of a project: it actually gives a false sense of success by ignoring a lot of true positive, or adding non relevant covered lines and non-existent covered functions that make the coverage result falsely good.I propose that it is entirely rewritten to bring back the accuracy and correctness of istanbul while using V8 coverage data. I created a PR that adds a coverage provider fueled by One Double Zero, but I think we should go as far as making
odz
the officialv8
coverage provider.Environment
The text was updated successfully, but these errors were encountered: