Currently I'm using ExtentReport to generate automation reports.
The way I'm using ExtentReport is using the IReporter implementation to generate the report at the end of my tests, which is great.
However, now I'm looking at creating a way of monitoring my tests while they are being executed which is not possible with IReporter.
I want to create a separate listener for real time results using ITestListener.
Has anyone used this with ExtentReport? Or anything similar?
Any useful articals or guidelines in the right direction would be appreciated.
Thanks.
EDIT: Basically need a way to generate the ITestListener live console outputs to an actually HTML Reprot where I can view the test progress from there rather than the console
It should look something like:
It will provide report updating on each test finish. Please refer to documentation about tests parallel running. Also it would be better to pass ExtentReports instance as TestNG context attribute e.g.
iTestContext.setAttribute("reporter", reporter)
and use it in listener.