Testng.xml???????????????????
???????????? ???????[ 2014/11/27 15:53:06 ] ??????????????? ???????
????testng.xml???????
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="suitename" junit="false" verbose="3" parallel="false" thread-count="5" configfailurepolicy="<span style="font-family:Arial;"><span style="font-size: 14px; line-height: 26px;">skip</span></span>" annotations="javadoc" time-out="10000" skipfailedinvocationcounts="true" data-provider-thread-count="5" object-factory="classname" allow-return-values="true"> <!-- name????????? -->
<suite-files>
<suite-file path="/path/to/suitefile1"></suite-file> <!-- path????????? -->
<suite-file path="/path/to/suitefile2"></suite-file>
</suite-files>
<parameter name="par1" value="value1"></parameter> <!-- name?? value????????? -->
<parameter name="par2" value="value2"></parameter>
<method-selectors>
<method-selector>
<selector-class name="classname" priority="1"></selector-class> <!-- name????????? -->
<script language="java"></script> <!-- language????????? -->
</method-selector>
</method-selectors>
<test name="testename" junit="false" verbose="3" parallel="false" thread-count="5" annotations="javadoc" time-out="10000" enabled="true" skipfailedinvocationcounts="true" preserve-order="true" allow-return-values="true"> <!-- name????????? -->
<parameter name="par1" value="value1"></parameter> <!-- name?? value????????? -->
<parameter name="par2" value="value2"></parameter>
<groups>
<define name="xxx"> <!-- name????????? -->
<include name="" description="" invocation-numbers="" /> <!-- name????????? -->
<include name="" description="" invocation-numbers="" />
</define>
<run>
<include name="" /> <!-- name????????? -->
<exclude name="" /> <!-- name????????? -->
</run>
<dependencies>
<group name="" depends-on=""></group> <!-- name??depends-on???????????? -->
<group name="" depends-on=""></group>
</dependencies>
</groups>
<classes>
<class name="classname"> <!-- name????????? -->
<methods>
<parameter name="par3" value="value3"></parameter>
<include name="" description="" invocation-numbers=""></include>
<exclude name=""></exclude>
</methods>
<methods></methods>
</class>
</classes>
<packages>
<package name="" /> <!-- name????????? -->
<package name="">
<include name="" description="" invocation-numbers=""></include>
<exclude name=""></exclude>
</package>
</packages>
<listeners>
<listener class-name="classname1" /> <!-- name????????? -->
<listener class-name="classname2" />
</listeners>
</test>
<test></test>
</suite>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE suite SYSTEM "http://testng.org/testng-1.0.dtd">
<suite name="suitename" junit="false" verbose="3" parallel="false" thread-count="5" configfailurepolicy="<span style="font-family:Arial;"><span style="font-size: 14px; line-height: 26px;">skip</span></span>" annotations="javadoc" time-out="10000" skipfailedinvocationcounts="true" data-provider-thread-count="5" object-factory="classname" allow-return-values="true"> <!-- name????????? -->
<suite-files>
<suite-file path="/path/to/suitefile1"></suite-file> <!-- path????????? -->
<suite-file path="/path/to/suitefile2"></suite-file>
</suite-files>
<parameter name="par1" value="value1"></parameter> <!-- name?? value????????? -->
<parameter name="par2" value="value2"></parameter>
<method-selectors>
<method-selector>
<selector-class name="classname" priority="1"></selector-class> <!-- name????????? -->
<script language="java"></script> <!-- language????????? -->
</method-selector>
</method-selectors>
<test name="testename" junit="false" verbose="3" parallel="false" thread-count="5" annotations="javadoc" time-out="10000" enabled="true" skipfailedinvocationcounts="true" preserve-order="true" allow-return-values="true"> <!-- name????????? -->
<parameter name="par1" value="value1"></parameter> <!-- name?? value????????? -->
<parameter name="par2" value="value2"></parameter>
<groups>
<define name="xxx"> <!-- name????????? -->
<include name="" description="" invocation-numbers="" /> <!-- name????????? -->
<include name="" description="" invocation-numbers="" />
</define>
<run>
<include name="" /> <!-- name????????? -->
<exclude name="" /> <!-- name????????? -->
</run>
<dependencies>
<group name="" depends-on=""></group> <!-- name??depends-on???????????? -->
<group name="" depends-on=""></group>
</dependencies>
</groups>
<classes>
<class name="classname"> <!-- name????????? -->
<methods>
<parameter name="par3" value="value3"></parameter>
<include name="" description="" invocation-numbers=""></include>
<exclude name=""></exclude>
</methods>
<methods></methods>
</class>
</classes>
<packages>
<package name="" /> <!-- name????????? -->
<package name="">
<include name="" description="" invocation-numbers=""></include>
<exclude name=""></exclude>
</package>
</packages>
<listeners>
<listener class-name="classname1" /> <!-- name????????? -->
<listener class-name="classname2" />
</listeners>
</test>
<test></test>
</suite>
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11