
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.
@cucumber/html-formatter
Advanced tools
@cucumber/html-formatter is an npm package that provides a way to generate HTML reports from Cucumber JSON output. It is useful for visualizing the results of Cucumber tests in a more readable and user-friendly format.
Generate HTML Report
This feature allows you to generate an HTML report from a Cucumber JSON report. You need to specify the input JSON file and the output HTML file. The `generate` function processes the JSON and creates a formatted HTML report.
const { generate } = require('@cucumber/html-formatter');
const options = {
input: 'path/to/cucumber-report.json',
output: 'path/to/output.html'
};
generate(options).then(() => {
console.log('HTML report generated successfully!');
}).catch(err => {
console.error('Error generating HTML report:', err);
});
cucumber-html-reporter is another package that generates HTML reports from Cucumber JSON output. It offers customization options for the report layout and styling. Compared to @cucumber/html-formatter, it provides more flexibility in terms of report customization.
cucumber-html is a package that also generates HTML reports from Cucumber JSON output. It is a simpler alternative to @cucumber/html-formatter, focusing on ease of use and quick setup. It may lack some advanced customization features available in @cucumber/html-formatter.
multiple-cucumber-html-reporter is a package designed to generate HTML reports from multiple Cucumber JSON files. It supports merging multiple reports into a single HTML file, which can be useful for large projects with multiple test suites. It offers more advanced features compared to @cucumber/html-formatter, such as embedding screenshots and detailed metadata.
⚠️ This is an internal package; you don't need to install it in order to use the html formatter in @cucumber/cucumber
as it's built in there.
Takes a stream of Cucumber messages and outputs a standalone HTML report using Cucumber's React components
FAQs
HTML formatter for Cucumber
The npm package @cucumber/html-formatter receives a total of 1,447,631 weekly downloads. As such, @cucumber/html-formatter popularity was classified as popular.
We found that @cucumber/html-formatter demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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.