使用ant运行testng的testng.xml并且使用testng-results.xsl美化结果
来源:互联网 发布:中俄大桥 知乎 编辑:程序博客网 时间:2024/06/05 03:43
先看build.xml
- 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
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 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
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
在eclipse中,他的结构是:
project:
|
src(存放源代码)
|
lib(存放jar包)
|
test-output(存放testng的结果的目录)
|
testng.xml(testng的设置)
|
build.xml(ant的设置)
准备:
testng-xslt-1.1.2-master文件下载地址
testng.jar文件 下载地址
操作:
1.把testng-xslt-1.1.2-master中\lib\saxon-8.7.jar放入eclipse 的lib目录下
2.把testng-xslt-1.1.2-master中\src\main\resources\testng-results.xsl放入eclipse 的test-output的文件夹中
3.把上面的代码放入build.xml
4.点击build.xml右键run: Ant build
0 0
- 使用ant运行testng的testng.xml并且使用testng-results.xsl美化结果
- 使用ant运行testng的testng.xml并且使用testng-results.xsl美化结果
- 使用ant运行testng使用testng-results.xsl美化结果
- TestNG+Ant 测试报告美化
- TestNG+Ant 测试报告美化
- 基于testNg的测试框架设计(二)---使用ant运行testNg
- 使用TestNG-xslt美化测试报告
- 使用TestNG-xslt美化测试报告
- 使用TestNG-xslt+ant来美化selenium测试报告
- 使用testng-xslt改写testng的测试报告
- TestNG使用
- testng使用
- ant运行testng
- Selenium2+TestNG的使用
- testng的使用
- TestNG DataProvider的使用
- testng+reportng,运行xml
- TestNG 五 运行TestNG
- hdu 2082 找单词(多重背包)
- HttpClient 4.5版本设置连接超时时间
- 三叉链表实现二叉树基本操作
- 迭代器Iterator 非用不可
- poj 1611
- 使用ant运行testng的testng.xml并且使用testng-results.xsl美化结果
- 贪心算法
- jdbc通过ip地址连接
- Implicit conversion of 'int' to 'id' is disallowed with ARC
- Ural1082-Gaby Ivanushka
- The first day of learning Python(第一天学习Python)
- Caffe-SCIR
- [LeetCode] Longest Substring Without Repeating Characters
- 在MacOS下使用Charles进行Http请求分析