grasshopper7 / extentreports-cucumber7-adapter

Cucumber-JVM 7 Adapter for Extent Framework
https://ghchirp.online/3196/
MIT License
17 stars 8 forks source link

[Feature Request] Ability to generate separate HTML/PDF reports for failed scenarios #14

Closed prtraj2 closed 1 year ago

prtraj2 commented 1 year ago

I want to make a request to add a capability to generate separate HTML/PDF reports for failed test cases if possible. Especially in the PDF report since we do not have filter functionality like we do in HTML report and when business teams refer the PDF report where focus is just on failed test cases it becomes a hectic task to keep scrolling and identifying failed test case from the whole report.

grasshopper7 commented 1 year ago

I can have a look at doing this for PDF report. But if it involves major refactoring of existing code then it might be a no go. The Spark html report is not maintained or owned by me, so you will need to create an issue with their repository.

prtraj2 commented 1 year ago

@grasshopper7 Thanks for the reply. Yes please do include this feature in the PDF report. That will be really helpful. And regarding the spark reporter we could do that already through code for non-cucumber based projects as showcased in this video. But using your cucumber adapter I am unsure how could we achieve this if possible.

Anyways please include this feature in PDF if it is doable. Thanks for being proactive.

grasshopper7 commented 1 year ago

Added for spark in version 1.8.2. Refer here https://github.com/grasshopper7/extentreports-cucumber7-adapter/issues/15 for usage. Use this with caution as this can be used for hiding data.

grasshopper7 commented 1 year ago

v1.8.2 does not work as I forgot Status enum takes 2 parameters. Will fix.

grasshopper7 commented 1 year ago

Added in 1.8.4