On upgrade to version 7 the execution order of the methods is changed and priority is ignored. #3061
Unanswered
doctor-beat
asked this question in
Q&A
Replies: 2 comments
-
Please share a sample gradle/maven project that can be used to reproduce the issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
https://github.com/doctor-beat/TestngPrioDemo I found that the issue described only shows when you add a '-Dtest=*Something' to the 'mvn clean test' command |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi, i am trying to upgrade testng from 6.x to 7.x. But when doing so the execution order of the test-methods is changed and the priority that is set on the method is ignored (or i should say is only evaluated inside the class, not across the suite).
I have written an IMethodInterceptor to restore ordering but the result is simply ignored by TestNg.
So, how can i restore the old order of execution in TestNg 7.x?
Beta Was this translation helpful? Give feedback.
All reactions