Setup testing code coverage reporting and tracking
Closed this issue · 5 comments
melink14 commented
This is useful to ensure bare minimum testing coverage going forward:
- Karam has a plugin using Instanbul: https://github.com/karma-runner/karma-coverage
- codecov.io has free for open source coverage reporting but not sure how instrumentation works or if it's better than instanbul plus github action.
melink14 commented
https://coveralls.io/ also exists I guess!
melink14 commented
melink14 commented
With @web/test-runner, coverage report is generated with --coverage
flag. There are some errors now though the final output seems mostly correct. (Tracking at modernweb-dev/web#1549)
In the html report it does seem to count all comment lines as covered which is a bit strange.
melink14 commented
Currently integrated with codecov to track and report on teste coverage.