0

At the moment I am getting that e.g. 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.

2 Answers2

0

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.

Paras
  • 3,197
  • 2
  • 20
  • 30
0

TestNg provide such fetaur for more details go through Testng

Sadik Ali
  • 1,129
  • 10
  • 26