zih*_*oyu 4 eclipse testng classpath
我有一些包裹
com.company.testing.module1
com.company.testing.module2
com.company.testing.module3
Run Code Online (Sandbox Code Playgroud)
我也有一些有TestNG注释的类
com.company.testing.tests
Run Code Online (Sandbox Code Playgroud)
现在我把testng.xml放进去了
com.company.testing
Run Code Online (Sandbox Code Playgroud)
XML文件看起来像
<?xml version="1.0" encoding="UTF-8"?>
<suite name="Foo">
<test name="Bar">
<package>
<package name="com.company.testing.tests" />
</package>
</test>
</suite>
Run Code Online (Sandbox Code Playgroud)
如何从Eclipse运行该套件?我应该做什么运行配置?
| 归档时间: |
|
| 查看次数: |
23344 次 |
| 最近记录: |