Reputation: 453
I have 2 calasses, every class has 2 tests: Class A, Test 1 (priotity 1), test 2 (priority 2) Class B, Test 1 (priotity 1), test 2 (priority 2)
when i execute my tests the order is: A1 B1 A2 B2
i need it to run like this: A1 A2 B1 B2
here is a thread with a similar issue, but this does't work for me. I added group-by-instances="true" but it does't work.
Upvotes: 0
Views: 855
Reputation: 5740
Just use dependsOnMethods
instead of priority
which is global for all the suite.
Upvotes: 1