karma-runner / karma-runner/karma-coverage
coverage report includes actual tests
- Dominant language
- JavaScript
- Stars
- 771
- Forks
- 242
- PR merge metrics
- No merged PRs in 30d
Description
The issue I am having is that the coverage report counts the actual test spec files. Thus, the total lines covered is significantly skewed. What do I have to change in the `coverageReporter` config to specify paths to ignore in the coverage report without having it not run the tests themselves?
Happy to provide a sample of my config or other info if need be.
thanks!
Contributor guide
Research direction
Start by reviewing the coverageReporter configuration and reproduce the report behavior with the test spec files included. Determine how paths can be excluded from coverage while the tests continue to run; done means the tests execute normally and their files no longer affect the reported coverage totals.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- testing
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100