[testng-dev] TestNg Messes method execution order when using packages in testng.xml and depends on

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

[testng-dev] TestNg Messes method execution order when using packages in testng.xml and depends on

Dharshana kasun Warusavitharana
Hi All,

I have a test suite where it uses

  1. Packages in testng xml 

  2. Depends on methods in test classes. 

  3. And i have methods with same name in different classes. 

  4. Im using method interceptor.

When i execute tests it does not execute and order test methods based on classes. When i see at the classes loaded at method interceptor it shows all methods available in the package. And i notice the method interceptor is getting hits several times with incorrect method listings.

This works fine with testng 6.1.1 but from 6.3 above this sems not working. Tests are failed because of the not executing tests with out proper classes based order.

Do i have any work around here. Please point me if there is any workaround i can use.


Thank You,

Dharshana.

--
You received this message because you are subscribed to the Google Groups "testng-dev" group.
To view this discussion on the web visit https://groups.google.com/d/msg/testng-dev/-/8T522HEvu6YJ.
To post to this group, send email to [hidden email].
To unsubscribe from this group, send email to [hidden email].
For more options, visit this group at http://groups.google.com/group/testng-dev?hl=en.