Skip to main content

ohos-ut-test-coverage-report-generation

为OpenHarmony C/C++提供基于UT用例的代码覆盖率报告生成,支持全量和增量覆盖率分析,需要通过 hdc 连接测试设备。Use when: (1) 用户请求为子系统/部件/模块/测试套/测试用例生成全量代码覆盖率,如果提供报告路径时,解析为--output路径; (2) 用户请求为部件/模块/测试套/测试用例生成增量代码覆盖率,需要 git diff 文件,如果提供报告路径时,解析为--output路径;注意:增量覆盖率不支持子系统级别。当需要连接 OpenHarmony 设备执行测试时激活。

Jump to install

Source facts

Repository
openharmonyinsight/openharmony-skills
Last source activity
June 7, 2026 at 09:57
Detected SKILL.md language
Chinese
Stars
31
Forks
6

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.