Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

cobertura-parse

1.0.5 • Public • Published

cobertura-parse

Parse cobertura results file and return JSON

The output is based on, and intended to be compatible with, https://github.com/davglass/lcov-parse

Use

var cob = require( "cobertura-parse" );
 
// parse by file path
cob.parseFile( "filepath.xml", function( err, result ) { ... } );
 
// or parse file contents
cob.parseContent( "<?xml version="1.0" ?><coverage>...</coverage>",
    function( err, result ) { ... } );

Keywords

none

Install

npm i cobertura-parse

DownloadsWeekly Downloads

3,841

Version

1.0.5

License

MIT

Unpacked Size

29.7 kB

Total Files

9

Last publish

Collaborators

  • avatar
  • avatar