taras42 / karma-jasmine-html-reporter

A Karma plugin. Dynamically displays tests results at debug.html page

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NO LONGER MAINTAINED

See https://github.com/dfederm/karma-jasmine-html-reporter

karma-jasmine-html-reporter

Reporter that dynamically shows tests results at debug.html page. Jasmine 1.3 is not supported.

alt tag

You can also run describe block, or 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 simple 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 list of reporters as a CLI argument too:

karma start --reporters kjhtml

About

A Karma plugin. Dynamically displays tests results at debug.html page

License:MIT License


Languages

Language:JavaScript 80.6%Language:CSS 19.4%