我在 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/