LironEr / cypress-mochawesome-reporter

Zero config Mochawesome reporter for Cypress with screenshots and videos
MIT License
158 stars 49 forks source link

Provide JSON reports #187

Closed vaclavGabriel closed 4 months ago

vaclavGabriel commented 5 months ago

Is your feature request related to a problem? Please describe. Hello team, I'm running multiple tests in parallel and require JSON files to generate an HTML report from all instances in a subsequent job.

Is it possible to create a merged JSON report in addition to the HTML report?

Describe the solution you'd like When generating the HTML report, all JSON files from each test are merged. My suggestion is to add jsonReport reporter option. When this option is enabled, the merged JSON report will be saved along with the HTML report.

Describe alternatives you've considered I have explored the mochawesome package, but cypress-mochawesome-reporter offers more options and is easier to use.

Additional context

LironEr commented 4 months ago

If I understand correctly, you can already do that, see https://github.com/LironEr/cypress-mochawesome-reporter/issues/134#issuecomment-1473621103

vaclavGabriel commented 4 months ago

You're correct, thanks for pointing that out! 🙂