点集贵州电脑网
 
 
 梦想之源 ›› 灌水专区 ›› Jboss JSFUnit——Java开源JSF应用测试工具 版主:
灌水专区
新建论坛
申请免费TS
1 / 1 页
<< 1 >>
跳转
 主题:Jboss JSFUnit——Java开源JSF应用测试工具
 
 狄丝
发表时间:[2007-08-08 01:51:13] [向作者发站内短信] [复制链接告诉朋友]
等 级:准尉
经 验:5345
性 别:美女
文 章:711
精 华:40

Jboss JSFUnit是一个专门用于JSF应用程序的综合测试框架。它设计成能够在JSF层对JSF应用程序进行调试和综合集成测试。JSFUnit测试运行在容器之中,能够让开发人员完全控制managed beans,FacesContext和内部JSF组件Tree。同时,还可以控制每个客户端请求的HTML输出。

官方网站:http://labs.jboss.com/jsfunit/

下载地址:http://labs.jboss.com/jsfunit/gettingstarted.html

JSFUnit is an integration test framework for JSF applications. It is designed to allow complete integration testing and debugging of JSF applications at the JSF level. JSFUnit tests run inside the container, which provides the developer full access to managed beans, the FacesContext, and the internal JSF component tree. At the same time, you also have access to the HTML output of each client request.

With each faces request, you get access to the full internal state of your application through the FacesContext. With the FacesContext in hand, you have the "keys to the kingdom". You can do any kind of test you might dream up. You can also make additional HTTP requests to simulate a user session. And, since your application is fully deployed, you can assert state at any level of abstraction all the way from the client HTML down to your database.

The typical usage pattern of JSFUnit is to programatically submit an http request and examine both the raw HTML output and the JSF internals. JSFUnit makes this very easy to do.


上帝给我大脑于是我思考,上帝给我双腿于是我奔跑,上帝给我十指,于是我上网.经过思考后,我奔跑着来上网!

 楼主更多新贴 :  
★冰雨轩TS绿化版下载及使用教程
游戏地带魔兽世界英雄榜签名图片生成器
主题活动VIP收费TS,您明智的选择!
游戏地带CT_RaidTracker魔兽世界3.0中文版下
1 / 1 页
<< 1 >>
跳转
  快速回复
  帐号: 密码: 匿名不登陆
回复内容:  
验 证 码:
 
 
·VIP收费TS,您明智的选择!
·9800GT+19'液晶DIY仅售3500元
·双核特惠:1999、2999、3999
·什么是点金积分,如何查看自
·团购一期:三星R458-DS0G+高
  
贵州点集科技发展有限责任公司·点集贵州电脑网 版权所有©2006-2008
中华人民共和国增值电信业务经营许可证 黔B-20070010号
客服QQ: 93804809818866281927205370
电子邮件: deangi@vip.sina.com
技术支持: 0851-5109268