Looking for Listener/Adapter for Exceptions Thrown by Before/After Annotations

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Looking for Listener/Adapter for Exceptions Thrown by Before/After Annotations

Paul Winters
I am looking for a way to intercept exceptions thrown in before/after annotations to add more details about the failures. Is there any listeners or adapter, classes in Testng that allow you to do this? 

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Looking for Listener/Adapter for Exceptions Thrown by Before/After Annotations

Krishnan Mahadevan
You can look at one of the below :
  • org.testng.IConfigurationListener2
  • org.testng.IConfigurationListener

Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribbings @ http://rationaleemotions.wordpress.com/

On Thu, Jun 29, 2017 at 1:52 AM, Paul Winters <[hidden email]> wrote:
I am looking for a way to intercept exceptions thrown in before/after annotations to add more details about the failures. Is there any listeners or adapter, classes in Testng that allow you to do this? 

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.

--
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 [hidden email].
To post to this group, send email to [hidden email].
Visit this group at https://groups.google.com/group/testng-users.
For more options, visit https://groups.google.com/d/optout.
Loading...