我试图从一个整体套件文件运行多个套件.我定义了运行所需的套件并运行"主"套件文件.我已经使用preserve-order按顺序运行每个套件,但行为并不像我期望的那样.似乎它一个接一个地直接运行它们,几乎是平行的.
有没有人知道我可以执行套件的方式,保留订单,理想情况下等待第一套房在第二套房运行之前完成?
我的套件设置如下:
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >
<suite name="My test suite" preserver-order=true>
<suite-files>
<suite-file path="Test1.xml"></suite-file>
<suite-file path="Test2.xml"></suite-file>
<suite-file path="Test3.xml"></suite-file>
</suite-files>
</suite>
Run Code Online (Sandbox Code Playgroud)
问候,杰克