Skip to content

yomed/grunt-istanbul-combine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

grunt-istanbul-combine

Grunt plugin to combine istanbul coverage reports using istanbul-combine.

Installation

npm install grunt-istanbul-combine --save-dev

Usage

This plugin is useful for combining multiple code coverage reports generated by istanbul. Accepts options as defined in istanbul-combine.

grunt.loadNpmTasks('grunt-istanbul-combine');
grunt.initConfig({
    options: {
        dir: '.coverage' // output directory for result
        pattern: '**/*/coverage.json', // json reports to be combined
        base: 'src', // base directory for resolving absolute paths
        reporters: {
            html: {}, // html reporter options
            cobertura: {} // cobertura reporter options
        }
    }
});

About

Combine istanbul coverage files with grunt

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published