mardi 3 juillet 2018

How to priotirize package execution in TestNG.xml?

I am trying to priotirize packages execution in TestNG.xml , but i am not able to below is my xml file and i want to execute package1 first then package2. Both the packages contains multiple test classes.

Sample :

<test name="Test" parallel="none" preserve-order="true">
    <packages>
        <package name="test.packages.testpackage1"  />
        <package name="test.packages.testpackage2" />
    </packages>
</test>

Aucun commentaire:

Enregistrer un commentaire