Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add coverage tools to devcontainer #1616

Merged
merged 1 commit into from
Jul 16, 2024
Merged

Conversation

Abingcbc
Copy link
Collaborator

  1. 将C++单测覆盖率统计工具加入到开发镜像中
  2. 补充本地计算覆盖率的文档
  3. 修复一些文件名过长,导致覆盖率报告跨两行出现的报错
  4. 目前80%覆盖率要求过高,删除卡点,暂时由reviewer保证覆盖率质量

在开发镜像中,内置了C++单测覆盖率统计工具 gcovr,可以通过以下命令在本地查看覆盖率。

1. 进入开发容器中
2. 设置 BUILD_LOGTAIL_UT=ON,编译单测
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

完整命令


在开发镜像中,内置了C++单测覆盖率统计工具 gcovr,可以通过以下命令在本地查看覆盖率。

1. 进入开发容器中
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

描述下

@Abingcbc Abingcbc merged commit 0a477c0 into alibaba:main Jul 16, 2024
15 checks passed
@henryzhx8 henryzhx8 added the test test label Jul 23, 2024
@Abingcbc Abingcbc deleted the fix_coverage branch November 27, 2024 03:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
test test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants