qunit-reporter-lcov

1.0.2 • Public • Published

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.

Package Sidebar

Install

npm i qunit-reporter-lcov

Weekly Downloads

10

Version

1.0.2

License

MIT

Last publish

Collaborators

  • piranna