Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我能够使用 c8 生成代码覆盖率报告。
但是我如何每次输出总覆盖率?目前,只有当它小于这样的阈值时,它才会输出总覆盖率%。
但我想在每次运行时查看 %。
配置:
{ "include": "app", "check-coverage": true, "lines": 99, "reporter": ["text","cobertura"] }
我只需要添加“文本摘要”作为记者之一。
"reporter": ["text","text-summary","cobertura"]