我有很多testng文件,每个文件都有十多个类调用测试.我想将所有testng文件包含在一个文件中.一种方法是复制所有内容并粘贴到一个testng xml中,但这里的问题是xml变得很长.testng/java有没有其他技术可以做到这一点?
您可以拥有所有套房的主人套房.
<suite name="Suite of suites">
<suite-files>
<suite-file path="src/test/resources/another.xml"></suite-file>
<suite-file path="src/test/resources/andanother.xml"></suite-file>
</suite-files>
</suite>
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
1946 次 |
| 最近记录: |