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

mochawesome-report-generator

Package Overview
Dependencies
Maintainers
1
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mochawesome-report-generator

Generates gorgeous HTML reports from mochawesome reporter.

  • 6.2.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1M
decreased by-18.28%
Maintainers
1
Weekly downloads
 
Created

What is mochawesome-report-generator?

The mochawesome-report-generator npm package is designed to generate beautiful, self-contained HTML reports for Mocha tests. This tool takes JSON output from Mocha's 'json' reporter and generates a full-fledged HTML/CSS report that helps in visualizing test runs. It's particularly useful for developers and QA engineers who need to analyze test outcomes more comprehensively.

What are mochawesome-report-generator's main functionalities?

Generate HTML Report

This feature allows users to generate an HTML report from a Mocha JSON output file. The 'marge.create' function takes the path to the JSON file and an options object where you can specify the report directory among other options.

marge.create('mochawesome.json', { reportDir: './path/to/report-dir' })

Customize Report Options

Users can customize the report generation by specifying various options such as the report directory, report title, and whether to inline assets. This allows for more personalized and potentially portable reports.

marge.create('mochawesome.json', { reportDir: './path/to/report-dir', reportTitle: 'My Project Test Report', inlineAssets: true })

Other packages similar to mochawesome-report-generator

Keywords

FAQs

Package last updated on 25 Mar 2022

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