caolan/nodeunit — pull request #215 by alanshaw (2013-06-22 09:12:52+00:00)
Title: LCOV reporter for nodeunit

The LCOV reporter reads JS files instrumented by [JSCoverage](http://siliconforks.com/jscoverage/) and outputs coverage data in the [LCOV format](http://ltp.sourceforge.net/coverage/lcov/geninfo.1.php).

You need to instrument your code using jscoverage before testing, and then run nodeunit against your instrumented code in order for the coverage data to be collected and the reporter to then generate your LCOV report.

I created an example or how this is done using nodeunit and submitted to [coveralls.io](https://coveralls.io/) after your code is built using [Travis](https://travis-ci.org/):

https://github.com/alanshaw/nodeunit-lcov-coveralls-example