0

我已经使用 SonarQube 来提高用 c# Visual Studio 编写的项目的代码质量。

Visual Studio 中的解决方案有两个项目(Employee 和 TestEmployee)。Employee 是 Web API 项目,TestEmployee 是 Employee 项目的单元测试。

在 SonarQube 中,仅分析 Employee 项目,而不分析 TestEmployee 项目。

覆盖率报告为零 (o)。TestEmployee 中的 .cs 根本没有显示在 SonarQube 中。

4

0 回答 0