最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Differential Code Coverage in Azure DevOps (ADO) for logical monorepo - Stack Overflow

programmeradmin1浏览0评论

I'm working on a project, where I have a pull request pipeline for a logical monorepo.
For this I'm using the git submodule functionality to pull a few repositories into mine, and building them.

I use ADO pipelines to build this.
All those repositories are C++ or Rust based.

We are computing code coverage currently and publishing to ADO.
The next step is differential code coverage.

How could I achieve this.
I went through the learn page for this. But this seem to cover only for a single repository scenario.

Is there a solution for this!

I'm working on a project, where I have a pull request pipeline for a logical monorepo.
For this I'm using the git submodule functionality to pull a few repositories into mine, and building them.

I use ADO pipelines to build this.
All those repositories are C++ or Rust based.

We are computing code coverage currently and publishing to ADO.
The next step is differential code coverage.

How could I achieve this.
I went through the learn page for this. But this seem to cover only for a single repository scenario.

Is there a solution for this!

Share Improve this question asked Mar 31 at 6:09 Alen AlexAlen Alex 9994 gold badges17 silver badges32 bronze badges 1
  • There seems is no good method to generate code coverage report for the submodule repositories together with the main repository. You might need to set up the pipeline to run tests and generate code coverage report for each submodule repository. – Bright Ran-MSFT Commented Mar 31 at 6:55
Add a comment  | 

1 Answer 1

Reset to default 1

As far as I know, there seems is no available method to generate code coverage report for the submodule repositories together with the main repository.

You might need to set up a pipeline for each submodule repository to run tests and generate code coverage report. Then you can try to publish the code coverage reports of all the submodule repositories and the main repository to the same place for a overall view.

发布评论

评论列表(0)

  1. 暂无评论