Proposal: Adding support for native V8 code coverage
维护者通常 1 天内回复
@baus 已经在做这个了。
开始于 2026年2月26日。
评估
这个 Issue 还没有评估数据。
描述
Hi everyone. Last year I had a brief email exchange with @jennifer-shehane and she confirmed to me that there were no more plans to implement v8 coverage for Cypress from the internal team. This commit was made to the docs to remove any mention of future plans.
I'm happy to say I have an initial working package published to NPM for V8 code coverage support for Cypress!
NPM: https://www.npmjs.com/package/cypress-code-coverage-v8
Repo: https://github.com/parkuman/cypress-code-coverage-v8/
I would love some input from the Cypress team to see if/how we might want to try and get this offered as an official plugin? It seems the other major test frameworks like Playwright and Vitest offer V8 coverage out-of-the-box. If we did want it to be an official plugin, I could imagine we might want it in its own repo outside of this one.
We have been using a version of this plugin internally at our company for our Vite + React application for over 6 months and it has served us well. Please take a look and let me know what you think! Very open to contributions and to get the ball rolling on this.
Also huge thanks to @bahmutov for the inital proof-of-concept for this, it was a massive help!
- 主要语言
- TypeScript
- 星标
- 440
- 派生
- 114
- 平均合并
- 42 分钟
- 30 天内合并 PR
- 19
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 没有贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
cypress-io/code-coverage 的其他 Issue
-
难度 3/5 半天 新手友好度 40/100
cypress-io/code-coverage#1018 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 35/100
cypress-io/code-coverage#993 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
cypress-io/code-coverage#967 ·
维护者通常 1 天内回复
-
难度 3/5 1-2 天 新手友好度 45/100
cypress-io/code-coverage#959 ·
维护者通常 1 天内回复
-
performance
难度 4/5 3-5 天 新手友好度 42/100
cypress-io/code-coverage#933 ·
维护者通常 1 天内回复
查看 cypress-io/code-coverage 的全部 Issue
相似的 Issue
-
area: infrastructure bug priority: low
难度 2/5 1-3 小时 新手友好度 88/100
snapotter-hq/SnapOtter#4575 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 1 天内回复
-
documentation server-memory v2
难度 2/5 1-3 小时 新手友好度 68/100
modelcontextprotocol/servers#5457 ·
维护者通常 1 天内回复
-
comp: ssr comp: zones type: feature version: current (v17+)
难度 2/5 1-3 小时 新手友好度 84/100
angular/angularfire#3836 ·
维护者通常 3 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复