peeky
peeky copied to clipboard
Code Coverage
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
- [x] CLI output
- [x] Report output (istanbul)
- [ ] UI
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).
@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?
You can see the current state in the original post ☝️
@Akryum I see. Your comment sounded like Istanbul format file is off the table.
I've completely refactored the coverage system, now using c8 to generate reports
https://github.com/Akryum/peeky/commit/a086c1560347a2b59ee26710687141a52cee628d