Page 1 of 1

lcov

Posted: 2012-03-24 11:21 pm
by blorf
Would it be possible to convert the report to something compatible with lcov? Has anyone tried to do this?

Re: lcov

Posted: 2012-03-25 7:51 pm
by Ed
blorf wrote:Would it be possible to convert the report to something compatible with lcov? Has anyone tried to do this?
The jscoverage.json output could be converted to something else, although some features of lcov (e.g., branch coverage) are not supported.

Re: lcov

Posted: 2012-06-07 10:26 pm
by tessarakt
I followed the approach presented in http://mercenary-code.blogspot.com/2010 ... enium.html (I basically translated the Ruby code there into Java).

It creates a Cobertura-compatible coverage.xml file.

-- Jens