mercredi 16 septembre 2015

Running Test Groups in same class parallel

I am wondering if there is a way to run tests in the testng.xml file parallel, however the tests are found in only one class. The examples I have found show how you can do it in two classes, for example, running class ExampleClass1Tests and ExampleClass2Tests can easily be done by..

<classes>
    <class name="somePackage.ExampleClass1Tests"/>
    <class name="somePackage.ExampleClass2Tests"/>
</classes>

And this is very easy. But lets say I want to have just one class test seperate things. How can I

a) run these in parallel WebDrivers?
b) run these almost in a queue rather than parallel.

Thanks!

Aucun commentaire:

Enregistrer un commentaire