karma-cucumberjs-allure-reporter

1.4.5 • Public • Published

karma-cucumberjs-allure-reporter

Reporter for the Allure XML format. It allows to make detailed report

Installation

Install karma-cucumberjs-allure-reporter into your project as devDependency

{
  "devDependencies": {
    "karma": "~0.10",
    "karma-allure-reporter": "~1.0.0"
  }
}

You can simple do it by:

npm install karma-cucumber-allure-reporter --save-dev

Configuration

Add allure into reporters section. Allure-reporter has a single config, it's a reportDir — result files location relatively to base dir. By default, files save right in the base dir.

// karma.conf.js
module.exports = function(config) {
  config.set({
    reporters: ['progress', 'cucumber-allure'],
 
    // the default configuration
    allureReport: {
      reportDir: '',
    }
  });
};

Package Sidebar

Install

npm i karma-cucumberjs-allure-reporter

Weekly Downloads

1

Version

1.4.5

License

none

Last publish

Collaborators

  • st-moore