grunt-istanbul-combine

0.1.0 • Public • Published

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
        }
    }
});

Dependencies (1)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i grunt-istanbul-combine

    Weekly Downloads

    283

    Version

    0.1.0

    License

    none

    Last publish

    Collaborators

    • yomed