testng.xml設定

1  <?XMLバージョン= "1.0"エンコード= "UTF-8" ?> 
2  <!DOCTYPEスイートSYSTEM "http://testng.org/testng-1.0.dtd" > 
3  < スイート= "name_Project" >  
4      < 試験= "テスト名" >  
5          < クラス>  
6              < クラス= "包。类"  /> 
7          </ クラス> 
8      </ 試験>  
9      < リスナー> 
10            <= "org.uncommons.reportng.HTMLReporter"  />  
11            < リスナクラス名= "org.uncommons.reportng.JUnitXMLReporter"  /> 
12      </ リスナー>     
13  </ スイート>

 

おすすめ

転載: www.cnblogs.com/cty136/p/11535774.html