extent-framework / extentreports-java

Extent Reporting Library, Java
http://extentreports.com
Apache License 2.0
220 stars 126 forks source link

How to generate report using spark reporter with same levels ( suit - class - test ) as ExtentIReporterSuiteClassListenerAdapter #407

Open zanoon2020 opened 1 year ago

zanoon2020 commented 1 year ago

I have multiple test classes when running them all test methods shown in tests page sequentailly. I want to show them as classes and on the right i collapse each test with steps as ExtentIReporterSuiteClassListenerAdapter Output what actually happens

image

what i'm trying to achieve image

zanoon2020 commented 12 months ago

hello , @anshooarora any feedback on this please . thanks in advance

anshooarora commented 11 months ago

Can you try with ExtentIReporterSuiteListenerAdapter?

zanoon2020 commented 11 months ago

Can you try with ExtentIReporterSuiteListenerAdapter?

Dear @anshooarora

Do u mean use testng adapter ? can you refer to an example if possible ,

anshooarora commented 11 months ago

Yes, or reference the code here:

https://github.com/extent-framework/extentreports-testng-adapter/blob/master/src/main/java/com/aventstack/extentreports/testng/listener/ExtentIReporterSuiteListenerAdapter.java