使用覆盖率验证器监控 Google Test 单元测试
我最近刚刚开始使用 Google 测试框架 对用 Visual Studio 2005 编写的软件进行单元测试。除此之外,我还遇到了这个用于执行代码覆盖率的工具,称为:覆盖率验证器。我打算使用这个覆盖验证器软件来监控我的单元测试,但看起来它还不支持 Google 测试框架。它可以使用 CPP 单元进行监控,但我无法通过 Google Test 找到任何文档或方法来执行相同的操作。有什么方法可以让我实现这一目标吗?
I have just recently started carrying out unit testing for my software written in Visual Studio 2005 using Google Test Framework. Alongside, I have come across this tool to carry out code coverage known as: Coverage Validator. I am intending to monitor my unit tests using this Coverage Validator software but looks like it does not support Google Test Framework yet. It can carry out the monitoring using CPP unit but I was unable to find any documentation or way to do the same via Google Test. Is there a way through which I could achieve this?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我不知道覆盖验证器,但总的来说,我看不出任何 CPP 覆盖工具需要正式“支持”任何像样的单元测试框架的原因 - 它应该可以工作......
I don't know Coverage Validator, but in general I don't see a reason why ANY coverage tool for CPP would need to officially 'support' ANY decent unit-test framework- it should just work...