TestNG-xslt 生成报告
上一篇 / 下一篇 2012-05-06 08:07:35 / 个人分类:TestNG/Ant/Eclipse/Java
TAG:
- 引用 删除 dian106106 / 2012-05-16 13:49:28
-
.testMethodsTable { margin-top: -20px; font-size: 12px; }
在style.css中改margin-top
- 引用 删除 dian106106 / 2012-05-16 13:46:59
-
改css //nowrap="true" 不换行
<td nowrap="true" class="firstMethodCell">
<a onclick="toggleDetailsVisibility('ENSG.carsoelSlideShow_carsoelslideshow_byClass_PASS1_details')">carsoelslideshow(http://xin.msn.com/?lang=en-sg)</a>
</td>
Default suite_Default test.html
- 引用 删除 dian106106 / 2012-05-09 01:16:45
-
<project name= "MSNHP" basedir= "." >
<property name= "lib.dir" value= "lib"/>
<path id= "test.classpath" >
<!-- adding the saxon jar to your classpath -->
<fileset dir= "${lib.dir}" includes= "*.jar"/>
</path>
<target name= "transform" >
<xslt in= "C:\eclipse\workspace\MSNHP\test-output\testng-results.xml" style= "C:\eclipse\workspace\MSNHP\test-output\testng-results.xsl"
out= "C:\eclipse\workspace\MSNHP\test-output\index1.html">
<!-- you need to specify the directory here again -->
<param name= "testNgXslt.outputDir" expression= "C:\eclipse\workspace\MSNHP\test-output"/>
<classpath refid= "test.classpath"/>
</xslt>
</target>
</project>
- 引用 删除 dian106106 / 2012-05-08 08:23:15
-
<project name="myproject" basedir=".">
<property name="lib.dir" value="lib"/>
<path id="test.classpath">
<!-- adding the saxon jar to your classpath -->
<fileset dir="${lib.dir}" includes="*.jar"/>
</path>
<target name="transform">
<xslt in="path/to/your/testng-results.xml"style="path/to/the/testng-results.xsl"
out="/path/to/your/output/directory/index.html">
<!-- you need to specify the directory here again -->
<param name="testNgXslt.outputDir"expression="/path/to/your/output/directory/"/>
<classpath refid="test.classpath"/>
</xslt>
</target>
</project>
- 引用 删除 dian106106 / 2012-05-07 10:54:31
-
add
classpath
path
- 引用 删除 dian106106 / 2012-05-07 10:54:00
-
安装ant
将你下载的压缩包解压,然后放在你喜欢的任何位置,如:c:/ant/,然后在“我的电脑->属性->高级->环境变量 ->新建”指定:ANT_HOME,值为:c:/ant,并在classpath中添加:%ANT_HOME%\bin;
标题搜索
日历
|
|||||||||
日 | 一 | 二 | 三 | 四 | 五 | 六 | |||
1 | 2 | 3 | 4 | ||||||
5 | 6 | 7 | 8 | 9 | 10 | 11 | |||
12 | 13 | 14 | 15 | 16 | 17 | 18 | |||
19 | 20 | 21 | 22 | 23 | 24 | 25 | |||
26 | 27 | 28 | 29 | 30 | 31 |
我的存档
数据统计
- 访问量: 74671
- 日志数: 80
- 建立时间: 2012-04-12
- 更新时间: 2013-05-21