Windows是否有任何受积极支持的lcov端口 [英] Is there any actively supported lcov port for windows

查看:182
本文介绍了Windows是否有任何受积极支持的lcov端口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用gcov库测量代码的覆盖率,我想以用户友好的格式生成覆盖率报告.我已经找到了lcov实用程序,但是它与Windows环境不兼容(主要是因为解析路径的方式).有人知道Windows积极支持的lcov端口吗?

I measure coverage for my code using gcov library and I would like to generate coverage report in user-friendly format. I've found lcov utility for that, but it's not compatibile with Windows environment (mainly because of the way the paths are parsed). Does anyone know about actively supported lcov port for Windows?

似乎使其在Windows上运行非常容易(它认为它甚至可以通过模仿unix shell命令行为的一些创造性的批处理/perl脚本来解决),该工具非常有用,所以我想有人可能已经做过了.

It seems that making it work on Windows would be quite easy (it think it might even be solved by few creative batch/perl scripts that mimic the behavior of unix shell commands), and the tool is quite useful, so I suppose someone might have already done it.

推荐答案

虽然可能很脏,但lcov 如何我测量了CppUnit测试的覆盖率(在Win32和Unix上)?及其答案.

While it may be dirty, lcov seems to work under cygwin. You may also be interested in the question How can I measure CppUnit test coverage (on win32 and Unix)? and its answers. Visual Studio seems provide code coverage reports.

这篇关于Windows是否有任何受积极支持的lcov端口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆