admin管理员组

文章数量:1427149

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.

本文标签: javascriptViewing LCOV file in WindowsStack Overflow