adamgruber / mochawesome

A Gorgeous HTML/CSS Reporter for Mocha.js
https://gitter.im/mochawesome/general
MIT License
1.06k stars 160 forks source link

Unable to generate reports with custom template using mochawesome #397

Open NeeruGana opened 8 months ago

NeeruGana commented 8 months ago

hi, I am using Cypress to testing a web application and mochawesome for report generation, but i can see only one one format of html file I can generate. Is it possible to generate a report in another format(like for example in table form). And also I want to pass some data like name, id and pass/fail details from testScript to add to that report. I have tried giving path for template in "reportTemplate" parameter for nwe template(hbs) but its generating in the old template format only. Any help on this is appreciated. Thanks

adamgruber commented 8 months ago

Mochawesome does not recognize a reportTemplate parameter and only supports generating the HTML report.