0.0.14 • Published 10 years ago

karma-hy-html-reporter v0.0.14

Weekly downloads
30
License
The MIT License (...
Repository
github
Last release
10 years ago

karma-hy-html-reporter

a karma reporter that produce a simple angular page for display. Click on the suite card to see all of the tests.

Installation

add karma-hy-html-reporter to your package.json.

{ 
  "devDependencies": {
    "karma": "~0.10",
    "karma-hy-html-reporter" : "~0.0.1"
    }
}

this can be simplified by running the command:

npm install karma-hy-html-reporter --save-dev

##Configuration

// karma.conf.js
module.exports = function(config) {
  config.set({
    frameworks: ['jasmine'],

    // reporters configuration
    reporters: ['hy-html'],
  });
};

There are some overwrites you can set for the reports

// karma.conf.js
module.exports = function(config) {
  config.set({
    frameworks: ['jasmine'],

    // reporters configuration
    reporters: ['hy-reporter'],
    htmlAngularReport:{
      outputFile:'nameOfFile.html',
      reportFolder:'folderName',
      reportTitle:'title of report'
    }
  });
};

##Release History

v0.0.8

*first release

##Author Jason Dalton

0.0.14

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago