GitHub - allure-framework/allure-npm: NPM wrapper for Allure commandline
NPM wrapper for Allure Commandline
- Learn more about Allure Report at https://allurereport.org
- ๐ Documentation โ discover official documentation for Allure Report
- โ Questions and Support โ get help from the team and community
- ๐ข Official announcements โ stay updated with our latest news and updates
- ๐ฌ General Discussion โ engage in casual conversations, share insights and ideas with the community
- ๐ฅ๏ธ Live Demo โ explore a live example of Allure Report in action
Install
- Allure requires Java 8 or higher
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.
- Update package version
$ npm version 2.13.0 - Download the Allure-commandline package:
./fetch-source - Publish result to NPM:
npm publish