karma-runner / karma-runner/karma-coverage

missing coverage when running karma with multiple different configs

Open
#206 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
771
Forks
242
PR merge metrics
No merged PRs in 30d

Description

I have 3 different configs in a project: 1) common code; 2) site a; 3) site b. When I run grunt karma:siteACoverage or grunt karma:siteBCoverage or grunt karma:commonCoverage a coverage report is generated for the correct site. When I run grunt karma it only generates a coverage report for common and then the other 2 reports are empty? I am not sure where to debug this or how?

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue with the three configurations using the reported grunt karma:siteACoverage, grunt karma:siteBCoverage, grunt karma:commonCoverage, and grunt karma commands. Start at the Karma coverage handling for multiple configurations; done means the combined run produces non-empty coverage reports for common, site A, and site B.

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
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.