如何在net core 2应用程序中获取代码覆盖率报告

问题描述 投票:0回答:1

我是dotnet core 2.0的新手,不知道如何提取代码覆盖率报告

dotnet测试命令。

寻求社区的帮助。

code-coverage .net-core-2.0
1个回答
1
投票

OpenCover是一个用于dotnet核心的开源代码覆盖工具。您可以将它与ReportGenerator结合使用以获取覆盖率报告。

https://github.com/OpenCover/opencover https://github.com/danielpalme/ReportGenerator

© www.soinside.com 2019 - 2024. All rights reserved.