Package detail

qunit-reporter-lcov

piranna941.0.2

Produce lcov test reports with QUnit

qunit, qunit-plugin, qunit-reporter, lcov

readme

lcov reporter for QUnit

Build Status NPM version bitHound Score

A QUnit plugin that produces lcov test reports (e.g. for integration into build tools like Jenkins).

Based on qunit-report-jUnit & Nodeunit lcov reporter

Usage

Include the plugin script after QUnit itself, then implement the lcovReport hook to do something with the lcov string (e.g. upload it to a server):

QUnit.lcovReport = function(report) {
    console.log(report.lcov);
};

Notes

If you're using Grunt, you should take a look grunt-contrib-qunit.