New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

cypress-mochawesome-reporter

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cypress-mochawesome-reporter

Zero config Mochawesome reporter for Cypress with screenshots

  • 3.8.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
270K
decreased by-14.49%
Maintainers
1
Weekly downloads
 
Created

What is cypress-mochawesome-reporter?

The cypress-mochawesome-reporter is an npm package that integrates Mochawesome reporting with Cypress, allowing you to generate detailed, visually appealing test reports for your Cypress tests.

What are cypress-mochawesome-reporter's main functionalities?

Generate HTML Reports

This feature allows you to generate HTML reports for your Cypress tests. By including the plugin in your Cypress configuration, you can produce detailed and visually appealing reports.

module.exports = (on, config) => {
  require('cypress-mochawesome-reporter/plugin')(on);
};

Customizable Report Options

This feature allows you to customize various options for your reports, such as the directory where reports are saved, whether to overwrite existing reports, and whether to generate HTML and JSON reports.

{
  "reporter": "cypress-mochawesome-reporter",
  "reporterOptions": {
    "reportDir": "cypress/reports",
    "overwrite": false,
    "html": true,
    "json": true
  }
}

Screenshots and Videos Integration

This feature allows you to integrate screenshots and videos into your reports. You can add custom logic to handle screenshots and videos, making your reports more comprehensive and useful for debugging.

module.exports = (on, config) => {
  require('cypress-mochawesome-reporter/plugin')(on);
  on('after:screenshot', (details) => {
    // Custom logic for handling screenshots
  });
};

Other packages similar to cypress-mochawesome-reporter

Keywords

FAQs

Package last updated on 22 Feb 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