karma-runner / karma-runner/karma-coverage

Option to only report coverage if all tests are passing

Open
#134 3 comments 1 reaction 0 assignees View on GitHub
PR please type: feature
Dominant language
JavaScript
Stars
771
Forks
242
PR merge metrics
No merged PRs in 30d

Description

Is it possible to create an option so that the coverage report will only be displayed if all tests are passing?

Contributor guide

Open the contributing guide

Research direction

Start by locating where the Karma coverage plugin decides to display its report and how it receives the test-run result. Define the option's expected behavior around passing and failing tests, then add or update tests covering both outcomes. Done means the coverage report is shown only when all tests pass when the option is enabled.

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.