跑一个工程下所有用例的方法: 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>