软件测试

收藏 / 订阅

跑一个工程下所有用例的方法

  跑一个工程下所有用例的方法: bkstmtcore-test/src/test/resources/testng.xml进行run as

testng.xml

<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd" >

<suite name="Suite1" verbose="1">

<test name="bkstmtqueryIntegrationTest">

<packages>

<package name="com.mybank.bkstmtquery.servicetest.integration.*" />

</packages>

</test>

<test name="mailSendTest">

<packages>

<package name="com.mybank.bkstmtquery.servicetest.enterprise.brsfilemanager.*" />

<package name="com.mybank.bkstmtquery.servicetest.api.creditbackservicefacade.*" />

</packages>

</test>

<test name="bkstmtqueryTest">

<packages>

<package name="com.mybank.bkstmtquery.servicetest.api.accountsdetailqueryfacade.*" />

<package name="com.mybank.bkstmtquery.servicetest.api.bankreconciliationfacade.*" />

<package name="com.mybank.bkstmtquery.servicetest.api.brsfilefacade.*" />

<package name="com.mybank.bkstmtquery.servicetest.api.fundbillqueryfacade.*" />

<package name="com.mybank.bkstmtquery.servicetest.api.mobileaccountsdetailservice.*" />

<package name="com.mybank.bkstmtquery.servicetest.api.mobilebrsfileservice.*" />

<package name="com.mybank.bkstmtquery.servicetest.api.mobilebrsservice.*" />

<package name="com.mybank.bkstmtquery.servicetest.api.mobilestatementservice.*" />

<package name="com.mybank.bkstmtquery.servicetest.api.MobileStmtBackService.*" />

<package name="com.mybank.bkstmtquery.servicetest.api.statementqueryfacade.*" />

<package name="com.mybank.bkstmtquery.servicetest.api.whitelistmanager.*" />

<package name="com.mybank.bkstmtquery.servicetest.conf.*" />

<package name="com.mybank.bkstmtquery.servicetest.service.shared.*" />

<package name="com.mybank.bkstmtquery.servicetest.service.statementdetailservice.*" />

<package name="com.mybank.bkstmtquery.servicetest.tool.*" />

<package name="com.mybank.bkstmtquery.servicetest.manager.*" />

<package name="com.mybank.bkstmtquery.servicetest.api.feedbackfacade.*" />

<package name="com.mybank.bkstmtquery.servicetest.api.feedbackoprnfacade.*" />

<package name="com.mybank.bkstmtquery.servicetest.api.mobilefeedbackservice.*" />

</packages>

</test>

</suite>

喜欢 (88) or分享 (0)
首页  上一页  12345678910  下一页 尾页 共73条记录 9/10

网友评论:7

  1. 小编 1年前 (2015-03-22) #5

    软件测试入门 :mrgreen:

留言主题 *

您的姓名 *

电子信箱:

电话号码:

请你留言: