
Security News
MCP Community Begins Work on Official MCP Metaregistry
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
allure-commandline
Advanced tools
The allure-commandline npm package is a command-line interface for Allure, a flexible, lightweight multi-language test report tool. It allows users to generate, serve, and open Allure reports from the command line.
Generate Allure Report
This feature allows you to generate an Allure report from the specified input directory and output it to the specified output directory.
const { exec } = require('child_process');
exec('allure generate <input-directory> -o <output-directory>', (err, stdout, stderr) => {
if (err) {
console.error(`Error: ${err.message}`);
return;
}
if (stderr) {
console.error(`Stderr: ${stderr}`);
return;
}
console.log(`Stdout: ${stdout}`);
});
Serve Allure Report
This feature allows you to serve an Allure report from the specified input directory, making it accessible via a local web server.
const { exec } = require('child_process');
exec('allure serve <input-directory>', (err, stdout, stderr) => {
if (err) {
console.error(`Error: ${err.message}`);
return;
}
if (stderr) {
console.error(`Stderr: ${stderr}`);
return;
}
console.log(`Stdout: ${stdout}`);
});
Open Allure Report
This feature allows you to open an existing Allure report from the specified output directory.
const { exec } = require('child_process');
exec('allure open <output-directory>', (err, stdout, stderr) => {
if (err) {
console.error(`Error: ${err.message}`);
return;
}
if (stderr) {
console.error(`Stderr: ${stderr}`);
return;
}
console.log(`Stdout: ${stdout}`);
});
Mochawesome is a custom reporter for the Mocha JavaScript test framework that generates a visually appealing HTML/CSS report. Unlike allure-commandline, which supports multiple testing frameworks, mochawesome is specifically designed for Mocha.
jest-html-reporter is a Jest test results processor that generates a simple HTML report. It is similar to allure-commandline in that it provides a visual representation of test results, but it is specifically tailored for Jest.
cucumber-html-reporter is a Cucumber.js HTML report generator. It is similar to allure-commandline in that it provides detailed test reports, but it is specifically designed for Cucumber.js.
NPM wrapper for Allure Commandline
npm install -g allure-commandline --save-dev
allure <command> [<args>]
Run allure help
for a list of supported commands.
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);
});
Allure packages should be downloaded from external storage. Repository content doesn't have actual code.
$ npm version 2.13.0
./fetch-source
npm publish
FAQs
Wrapper to install Allure-commandline via NPM
The npm package allure-commandline receives a total of 576,256 weekly downloads. As such, allure-commandline popularity was classified as popular.
We found that allure-commandline demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
The MCP community is launching an official registry to standardize AI tool discovery and let agents dynamically find and install MCP servers.
Research
Security News
Socket uncovers an npm Trojan stealing crypto wallets and BullX credentials via obfuscated code and Telegram exfiltration.
Research
Security News
Malicious npm packages posing as developer tools target macOS Cursor IDE users, stealing credentials and modifying files to gain persistent backdoor access.