无法获得netcoreapp1.1 VS2017RC的代码覆盖率结果 [英] Not Able to get Code coverage result of netcoreapp1.1 VS2017RC
问题描述
我为netcoreapp1.1 API创建了.net核心单元测试项目(使用VS 2017 RC Enterprise)。单元测试用例
成功执行但无法获得代码覆盖率结果。由于我是企业版,因此我使用Test->分析代码覆盖率执行测试用例但是测试 - > Windows - >代码覆盖率结果未显示代码覆盖率。我也尝试了不同的
选项Open cover,NCover,DotCover。没有任何工作。 这种情况仅适用于目标为
framewok .netcore。
请建议我如何获得.netcore单元测试项目的代码覆盖率结果。
嗨Rakhi,
<我遇到了与你相同的问题,我已将此问题提交给Microsoft Connec t反馈:
Microsoft工程师将认真评估它们。谢谢你的理解。您可以将其标记为答案,让更多获得此问题的人投票给此报告。
祝你好运,
Fletch
Hi,
I've created .net core unit test project for netcoreapp1.1 API(using VS 2017 RC Enterprise) .Unit test cases are executed successfully but not able to get code coverage result. As I've Enterprise edition so I executed test cases using Test->Analyze code coverage but Test->Windows ->Code coverage result is not showing code coverage. I've also tried different options Open cover,NCover,DotCover .Nothing is working.This is happening only for application having target framewok .netcore.
Please suggest how can I get code coverage result of .netcore unit test project.
Hi Rakhi,
I got the same issue as yours in my side, I’ve already submitted this to Microsoft Connect feedback:
Microsoft engineers will evaluate them seriously. Thanks for your understanding. You could mark it as answer and let more people who get this issue to vote this report.
Best regards,
Fletch
这篇关于无法获得netcoreapp1.1 VS2017RC的代码覆盖率结果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!