Difference between IReporter and TestListenerAdapter

421 views
Skip to first unread message

Erik Burgess

unread,
Feb 14, 2013, 11:56:30 AM2/14/13
to testng...@googlegroups.com
Hello,

Sorry if this has been answered before, but I have not been able to find an answer. 

I was wondering what's the difference between implementing the IReporter interface and extending TestListenerAdapter. I have already creates a custom reporter which extends the IReporter interface, but would I benefit from using the TestListenerAdapter?


Thanks,
Erik

Yevhen Bilevych

unread,
Feb 14, 2013, 12:08:02 PM2/14/13
to testng...@googlegroups.com
Well, it was in this mailing list

IReporter works _after_ your suite but iTestListener _during_

In other words, IReporter can just draw your report based on the
results in ISuite but ITestListener can catch and store more info, say
screenshots taken on test failure.

Please correct me if I'm mistaken

Thanks,
Yevhen
> --
> You received this message because you are subscribed to the Google
> Groups "testng-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to testng-users...@googlegroups.com.
> To post to this group, send email to testng...@googlegroups.com.
> Visit this group at http://groups.google.com/group/testng-users?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Reply all
Reply to author
Forward
0 new messages