Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

multiple-cucumber-html-reporter

Package Overview
Dependencies
Maintainers
1
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

multiple-cucumber-html-reporter

Generate beautiful Cucumber.js reports for multiple instances (browsers / devices)

  • 3.8.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created

What is multiple-cucumber-html-reporter?

The multiple-cucumber-html-reporter is an npm package that generates customizable HTML reports for Cucumber test results. It allows users to create detailed and visually appealing reports from Cucumber JSON output, making it easier to analyze test results.

What are multiple-cucumber-html-reporter's main functionalities?

Generate HTML Report

This feature allows you to generate an HTML report from Cucumber JSON files. You can specify the directory containing the JSON files and the output path for the report. Additionally, you can add metadata such as browser, device, and platform information.

const report = require('multiple-cucumber-html-reporter');
report.generate({
  jsonDir: 'path/to/json/files',
  reportPath: 'path/to/output/report',
  metadata: {
    browser: {
      name: 'chrome',
      version: '60'
    },
    device: 'Local test machine',
    platform: {
      name: 'ubuntu',
      version: '16.04'
    }
  }
});

Custom Metadata

This feature allows you to add custom metadata to your reports. You can specify details about the browser, device, and platform used during testing, which will be displayed in the generated report.

const report = require('multiple-cucumber-html-reporter');
report.generate({
  jsonDir: 'path/to/json/files',
  reportPath: 'path/to/output/report',
  metadata: {
    browser: {
      name: 'firefox',
      version: '89'
    },
    device: 'Remote test machine',
    platform: {
      name: 'windows',
      version: '10'
    }
  }
});

Custom Report Title

This feature allows you to set a custom title for your HTML report. By specifying the 'reportName' option, you can personalize the title that appears at the top of the generated report.

const report = require('multiple-cucumber-html-reporter');
report.generate({
  jsonDir: 'path/to/json/files',
  reportPath: 'path/to/output/report',
  reportName: 'My Custom Report Title'
});

Other packages similar to multiple-cucumber-html-reporter

Keywords

FAQs

Package last updated on 01 Oct 2024

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc