karma-hy-html-reporter

0.0.14 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i karma-hy-html-reporter

Weekly Downloads

74

Version

0.0.14

License

The MIT License (MIT)

Last publish

Collaborators

  • jcdalton2201