Skip to content

Latest commit

 

History

History
50 lines (33 loc) · 2.03 KB

README.md

File metadata and controls

50 lines (33 loc) · 2.03 KB

Allure Commandline

downloads npm version

NPM wrapper for Allure Commandline

Allure Report logo

Install

  1. Allure requires Java 8 or higher
  2. npm install -g allure-commandline --save-dev

Usage

allure <command> [<args>]

Run allure help for a list of supported commands.

Node.js API

You can also call Allure commands from your Node.js code:

var allure = require('allure-commandline');

// returns ChildProcess instance
var generation = allure(['generate', 'allure-results']);

generation.on('exit', function(exitCode) {
    console.log('Generation is finished with code:', exitCode);
});

Development

Allure packages should be downloaded from external storage. Repository content doesn't have actual code.

  1. Update package version $ npm version 2.13.0
  2. Download the Allure-commandline package: ./fetch-source
  3. Publish result to NPM: npm publish