0.2.3 • Published 6 years ago

karma-jasmine3-html-reporter v0.2.3

Weekly downloads
24
License
MIT
Repository
github
Last release
6 years ago

karma-jasmine-html-reporter

Reporter that dynamically shows tests results at debug.html page.

Jasmine 1.3 is not supported. For Jasmine < 3.0.0, use version 0.2.2

alt tag

You can also run a describe block, or a single test.

alt tag

Installation

The easiest way is to keep karma-jasmine-html-reporter as a devDependency in your package.json.

{
  "devDependencies": {
    "karma": "~0.10",
    "karma-jasmine-html-reporter": "~0.1"
  }
}

You can simply do it by:

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

Configuration

// karma.conf.js
module.exports = function(config) {
  config.set({

    reporters: ['kjhtml']

  });
};

You can pass a list of reporters as a CLI argument too:

karma start --reporters kjhtml