order of listeners

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

order of listeners

Idan Shay
Hi,

I am using both IMethodInterceptor and IAnnotationTransformer listeners.
In the IMethodInterceptor  I can (depend on parameter) select only parts of tests.

The problem is that the IAnnotationTransformer  runs before so it go on all the tests although many of them are not going to run.

Is there a way to make IMethodInterceptor   runs before ?

Isn't it more logic to first have the list of all methods that need to run and than go over them in the IAnnotationTransformer   ?

Thanks

--
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...