gpt4 book ai didi

c++ - 有什么方法可以从 Visual Studio 2017 中的 Catch C++ 测试中获取代码覆盖率指标?

转载 作者:行者123 更新时间:2023-11-30 05:11:52 25 4
gpt4 key购买 nike

我在 VS 2017 中有一些 C++ 项目 Catch在其中进行测试。但我无法弄清楚如何获得测试覆盖率指标。

虽然我更喜欢 native VS 解决方案,但我很乐意使用必要的 VS 扩展,但尽我所能 see ReSharper 不支持它:

You are right, neither profiling nor coverage are supported for C++

最佳答案

似乎 Visual Studio 已经通过其分析工具提供了覆盖率指标。参见 this article详情

关于c++ - 有什么方法可以从 Visual Studio 2017 中的 Catch C++ 测试中获取代码覆盖率指标?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/44852376/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com