1
我如何priotize下面的套件運行在這個特定的順序,當我運行eclipse它運行在這個順序,但從cmd它按字母順序運行。無論如何,我可以在命令提示符下按此順序。如何優先測試類testng
<suite name="Groups Suite">
<listeners>
<listener class-name="ww5.listener.Listener" />
</listeners>
<test name="Groups Suite Tests">
<classes>
<class name="ww5.testcases.groupsSuite.GoToGroupsPageTest" ></class>
<class name="ww5.testcases.groupsSuite.CreateNewGroupTest" ></class>
<class name="ww5.testcases.groupsSuite.DeleteGroupTest" ></class>
<class name="ww5.testcases.groupsSuite.SearchGroupTest" ></class>
<class name="ww5.testcases.groupsSuite.AddDevicesOrUsersToGroupTest"></class>
<class name="ww5.testcases.groupsSuite.RemoveDevicesFromGroupTest" ></class>
<class name="ww5.testcases.groupsSuite.RemoveUsersFromGroupTest" ></class>
</classes>
</test>
</suite>
感謝奏效 – 2015-04-07 08:10:07