最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

javascript - Viewing LCOV file in Windows - Stack Overflow

programmeradmin0浏览0评论

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 badges
Add a ment  | 

2 Answers 2

Reset to default 2

Use 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.

发布评论

评论列表(0)

  1. 暂无评论