karma-runner / karma-runner/karma-coverage
Support baseline to display zero coverage for "untouched" files
- Dominant language
- JavaScript
- Stars
- 771
- Forks
- 242
- PR merge metrics
- No merged PRs in 30d
Description
Currently, files that are never executed are not included in the report (even if they are instrumented).
This can be implemented using BaselineCollector https://github.com/gotwarlost/istanbul/commit/092f336f05fb2aff79684a5eb55e0982dd3ac808
Contributor guide
Research direction
Start by reading the linked Istanbul BaselineCollector implementation and tracing how karma-coverage builds its report. Confirm how instrumented files that were never executed are currently omitted. Done means those files appear in the coverage report with zero coverage, with suitable verification added where the repository's existing report behavior is tested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100