istanbul-reporter-raw-json
v1.0.1
Published
Reporter for istanbul <1.0 that dumps collector.getFinalCoverage() into coverage.raw.json, just like Istanbul 1.0 alpha. Useful for quickly reporting coverage from previously-generated results.
Downloads
6
Readme
istanbul-reporter-raw-json
Reporter for istanbul <1.0 that dumps collector.getFinalCoverage() into coverage.raw.json, just like istanbul alpha.
Useful for tilities that produce coverage results through istanbul.
Usage
Register the report using the istanbul Report factory:
var rawJsonReporter = require('istanbul-reporter-raw-json');
var istanbul = require('istanbul');
istanbul.Report.register(rawJsonReporter);
Create a report after istanbul has collected coverage information:
var report = require('istanbul').Report.create('raw-json');
License
ISC