karma-runner / karma-runner/karma-coverage

Collecting coverage stats from a child frame or window

Open
#230 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

Is there any way to do this? I'm trying to write tests for a module which has components across multiple parent windows and iframes, and obviously right now the only coverage stats which are collected is for code running in the top level window.

Contributor guide

Open the contributing guide

Research direction

Start by examining how karma-coverage collects coverage from the top-level window and compare that with the issue's child-frame and child-window test setup. Determine whether coverage can be collected across those contexts and define the expected result for code running outside the top-level window.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.