admin管理员组文章数量:1428551
Background: I have used JsTestDriverCoverage and generated a test coverage report for my Javascript unit tests. However it is in LCOV format. As a Windows user running on Windows 2003, I can't just read the file since its perl/lunix friendly.
Question: are there any ways to either convert the file to a more readable format (using mand line), or using other applications to read the file?
Thanks.
Background: I have used JsTestDriverCoverage and generated a test coverage report for my Javascript unit tests. However it is in LCOV format. As a Windows user running on Windows 2003, I can't just read the file since its perl/lunix friendly.
Question: are there any ways to either convert the file to a more readable format (using mand line), or using other applications to read the file?
Thanks.
Share Improve this question asked Dec 1, 2009 at 6:10 BeraCimBeraCim 2,3478 gold badges50 silver badges78 bronze badges2 Answers
Reset to default 2Use genhtml to convert it to a set of HTML files. http://ltp.sourceforge/coverage/lcov/genhtml.1.php
There is a genhtml port for windows here: http://code.google./p/jgenhtml/.
It's specifically designed to run cross platform - no problems with backslashes in the paths etc.
本文标签: javascriptViewing LCOV file in WindowsStack Overflow
版权声明:本文标题:javascript - Viewing LCOV file in Windows - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1745489710a2660548.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论