At the moment I am getting that eg Test with priority = 1 in Class A has finished and is now waiting for Test with priority = 1 in Class B to finish before continuing which is a time waster.
All I want is my classes to run in parallel but to respect priority only inside themselves.
You can mention the same in your testng.xml
file:-
For parallel class you can use:-
<suite name="My suite" parallel="classes" thread-count="5">
You will be mentioning your priority of test cases in your class. It will work then.
TestNg提供了更多细节,请通过Testng
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.