Skip to content
This repository has been archived by the owner on Oct 6, 2023. It is now read-only.

Code Coverage #22

Open
2 of 3 tasks
posva opened this issue Aug 26, 2021 · 6 comments
Open
2 of 3 tasks

Code Coverage #22

posva opened this issue Aug 26, 2021 · 6 comments

Comments

@posva
Copy link
Sponsor Contributor

posva commented Aug 26, 2021

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
@Akryum Akryum added the enhancement New feature or request label Aug 26, 2021
@Akryum Akryum added this to To do in v1.0 Aug 26, 2021
@Akryum
Copy link
Owner

Akryum commented Aug 30, 2021

Implemented very fast coverage collection in ae91f10

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

@Akryum Akryum moved this from To do to In progress in v1.0 Aug 30, 2021
@distantnative
Copy link

@Akryum currently, there is no way to get the V8 results into a file to upload e.g. to codecov.com - or did I overlook something?

@Akryum
Copy link
Owner

Akryum commented Dec 12, 2021

You can see the current state in the original post ☝️

@distantnative
Copy link

@Akryum I see. Your comment sounded like Istanbul format file is off the table.

@Akryum
Copy link
Owner

Akryum commented Feb 18, 2022

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

a086c15

@Akryum
Copy link
Owner

Akryum commented Feb 18, 2022

Docs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
v1.0
  
In progress
Development

No branches or pull requests

3 participants