spring
java花園
BlogJava
::
首頁
::
新隨筆
::
聯系
::
聚合
::
管理
::
4 隨筆 :: 0 文章 :: 1 評論 :: 0 Trackbacks
<
2005年9月
>
日
一
二
三
四
五
六
28
29
30
31
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
1
2
3
4
5
6
7
8
常用鏈接
我的隨筆
我的評論
我的參與
最新評論
留言簿
(1)
給我留言
查看公開留言
查看私人留言
隨筆分類
java(3)
(rss)
管理(1)
(rss)
隨筆檔案
2005年9月 (4)
收藏夾
開源(1)
(rss)
搜索
最新評論
1.?re: [寫作中] ant自動運行junit測試
你好,請教一下,junit輸出的xml文件的名稱是什么,是Test-?xml嗎
只測試單個用例,用<test 怎么做啊?
--啊
閱讀排行榜
1.?[寫作中] ant自動運行junit測試(640)
2.?[寫作中]apche+tomcat+jrockit的群集(331)
3.?[寫作中] jspWiki 升級到2.1的配置(190)
4.?[寫作中] Eclipse3.1試用(189)
評論排行榜
1.?[寫作中] ant自動運行junit測試(1)
2.?[寫作中] jspWiki 升級到2.1的配置(0)
3.?[寫作中] Eclipse3.1試用(0)
4.?[寫作中]apche+tomcat+jrockit的群集(0)
[寫作中] ant自動運行junit測試
?
????
????
<
target?
name
="junit"
?depends?
=?"build"
?description
="Execute?Unit?Tests"
>
????????
<
tstamp
/>
????????
<
echo
>
${build.dir}
echo
>
????????????
????????
<
junit?
printsummary?
="yes"
>
????????????
<
formatter?
type?
="plain"
/>
????????
????????????
<
formatter?
type?
="xml"
/>
????????
?????????????
<
batchtest?
todir
="${report.dir}"
>
???????????????
<
fileset?
dir
="../${build.dir}"
?includes
="**/WebControllerTest.class"
?
/>
???????????
batchtest
>
????????
junit
>
????????
????????
<
mkdir?
dir
="${report.dir}/html"
/>
????????
????????
<
junitreport?
todir
="${report.dir}"
>
????????????
???????????
<
fileset?
dir
="${report.dir}"
>
???????????????
<
include?
name
="TEST*-*.xml"
/>
???????????
fileset
>
????????????
<
report?
format
="noframes"
?todir?
="${report.dir}/html"
/>
????????
junitreport
>
????
target
>
關鍵是???
才能輸出html報表,noframes是單頁報表
posted on 2005-09-06 12:04
java花園
閱讀(640)
評論(1)
編輯
收藏
所屬分類:
java
評論
#
re: [寫作中] ant自動運行junit測試
2008-09-08 13:40
啊
你好,請教一下,junit輸出的xml文件的名稱是什么,是Test-?xml嗎
只測試單個用例,用<test 怎么做啊?
回復
更多評論
新用戶注冊
刷新評論列表
只有注冊用戶
登錄
后才能發表評論。
網站導航:
博客園
IT新聞
Chat2DB
C++博客
博問
管理
相關文章:
[寫作中]apche+tomcat+jrockit的群集
[寫作中] ant自動運行junit測試
[寫作中] Eclipse3.1試用
Powered by:
BlogJava
Copyright © java花園
主站蜘蛛池模板:
河南省
|
循化
|
汤原县
|
贵州省
|
宿州市
|
垦利县
|
泰和县
|
武威市
|
开江县
|
同德县
|
吉水县
|
鹤峰县
|
石林
|
睢宁县
|
黔西县
|
阳高县
|
明光市
|
东明县
|
古浪县
|
岗巴县
|
札达县
|
陇南市
|
沁水县
|
磴口县
|
香河县
|
瓦房店市
|
甘南县
|
乌鲁木齐县
|
松阳县
|
苍南县
|
石林
|
广平县
|
凤冈县
|
舞阳县
|
濮阳市
|
读书
|
沂南县
|
三原县
|
瑞安市
|
甘谷县
|
阳高县
|