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花園
主站蜘蛛池模板:
安宁市
|
罗源县
|
滨州市
|
夏河县
|
仁寿县
|
呼和浩特市
|
财经
|
梅河口市
|
彭州市
|
石棉县
|
安龙县
|
淮南市
|
利辛县
|
沁水县
|
青岛市
|
湖州市
|
新昌县
|
双城市
|
景谷
|
清远市
|
巴塘县
|
盱眙县
|
永平县
|
安乡县
|
行唐县
|
平利县
|
遂昌县
|
石屏县
|
晋城
|
茶陵县
|
新平
|
盘山县
|
汕头市
|
唐山市
|
济阳县
|
赤壁市
|
蒲江县
|
弥勒县
|
陕西省
|
渭源县
|
霍城县
|