cypress-io / cypress-io/code-coverage

Allow for preventing reset during interactive tests

Open
#959 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
445
Forks
115
PR merge metrics
No merged PRs in 30d

Description

**Is your feature request related to a problem? Please describe.**
Similar to #655
I would like to be able to run a few tests in my e2e and a few tests in my components and see the coverage report for those tests from interactive mode. I currently manually reset the coverage when I need to.

**Describe the solution you'd like**
I'd like to set a config flag that simply prevents the reset so I can reset things manually when I want to.

**Describe alternatives you've considered**
I currently have my own coverage plugin to get around this issue, but I'd like to switch to this plugin.

**Additional context**
My current solution:
https://github.com/RoundingWell/care-ops-frontend/blob/develop/test/plugins/coverage.js#L20

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.