??xml version="1.0" encoding="utf-8" standalone="yes"?>精品国产91久久久久久浪潮蜜月,久久久久久久久一区,欧美激情亚洲综合一区 http://www.aygfsteel.com/aoxj/category/29496.html我和我追逐的?/description>zh-cn Tue, 30 Nov 2010 21:50:40 GMT Tue, 30 Nov 2010 21:50:40 GMT 60 easymock教程-自定义参数匹配器 http://www.aygfsteel.com/aoxj/archive/2010/11/30/339423.htmlsky ao sky ao Tue, 30 Nov 2010 10:18:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/11/30/339423.html http://www.aygfsteel.com/aoxj/comments/339423.html http://www.aygfsteel.com/aoxj/archive/2010/11/30/339423.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/339423.html http://www.aygfsteel.com/aoxj/services/trackbacks/339423.html 阅读全文 ]]> easymock教程-改变同一个方法调用的行ؓ http://www.aygfsteel.com/aoxj/archive/2010/11/30/339416.htmlsky ao sky ao Tue, 30 Nov 2010 09:06:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/11/30/339416.html http://www.aygfsteel.com/aoxj/comments/339416.html http://www.aygfsteel.com/aoxj/archive/2010/11/30/339416.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/339416.html http://www.aygfsteel.com/aoxj/services/trackbacks/339416.html 阅读全文 ]]> easymock教程-q行时返回值或者异?/title> http://www.aygfsteel.com/aoxj/archive/2010/11/30/339410.htmlsky ao sky ao Tue, 30 Nov 2010 08:36:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/11/30/339410.html http://www.aygfsteel.com/aoxj/comments/339410.html http://www.aygfsteel.com/aoxj/archive/2010/11/30/339410.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/339410.html http://www.aygfsteel.com/aoxj/services/trackbacks/339410.html
但是在某些情况下Q我们可能无法预知返回|比如我们需要根据输入的参数值来军_q回什么,而这个参数可能无法在record阶段获得。因此在mockҎ中我们无法在record阶段决定应该返回什么?
对于q种场景Qeasymock提供了IAnswer接口和andAnswer()Ҏ来提供运行时军_q回值或者异常的机制?nbsp; 阅读全文 ]]> easymock教程-partial class mocking http://www.aygfsteel.com/aoxj/archive/2010/11/30/339391.htmlsky ao sky ao Tue, 30 Nov 2010 06:23:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/11/30/339391.html http://www.aygfsteel.com/aoxj/comments/339391.html http://www.aygfsteel.com/aoxj/archive/2010/11/30/339391.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/339391.html http://www.aygfsteel.com/aoxj/services/trackbacks/339391.html 阅读全文 ]]> easymock教程-参数匚w http://www.aygfsteel.com/aoxj/archive/2010/11/29/339342.htmlsky ao sky ao Mon, 29 Nov 2010 10:57:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/11/29/339342.html http://www.aygfsteel.com/aoxj/comments/339342.html http://www.aygfsteel.com/aoxj/archive/2010/11/29/339342.html#Feedback 2 http://www.aygfsteel.com/aoxj/comments/commentRss/339342.html http://www.aygfsteel.com/aoxj/services/trackbacks/339342.html 阅读全文 ]]> easymock教程-命名mock对象 http://www.aygfsteel.com/aoxj/archive/2010/11/29/339332.htmlsky ao sky ao Mon, 29 Nov 2010 08:34:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/11/29/339332.html http://www.aygfsteel.com/aoxj/comments/339332.html http://www.aygfsteel.com/aoxj/archive/2010/11/29/339332.html#Feedback 1 http://www.aygfsteel.com/aoxj/comments/commentRss/339332.html http://www.aygfsteel.com/aoxj/services/trackbacks/339332.html 命名mock对象有什么好处呢Q其实就是一点,卛_当测试案例因为某个mock对象的状态或行ؓ不符合要求而失败的时候,在异怿息里面可以输个mock对象的名U?nbsp; 阅读全文 ]]> easymock教程-攑֮调用ơ数 http://www.aygfsteel.com/aoxj/archive/2010/11/29/339322.htmlsky ao sky ao Mon, 29 Nov 2010 07:55:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/11/29/339322.html http://www.aygfsteel.com/aoxj/comments/339322.html http://www.aygfsteel.com/aoxj/archive/2010/11/29/339322.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/339322.html http://www.aygfsteel.com/aoxj/services/trackbacks/339322.html 阅读全文 ]]> easymock教程-mock的限?/title> http://www.aygfsteel.com/aoxj/archive/2010/11/25/339005.htmlsky ao sky ao Thu, 25 Nov 2010 03:12:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/11/25/339005.html http://www.aygfsteel.com/aoxj/comments/339005.html http://www.aygfsteel.com/aoxj/archive/2010/11/25/339005.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/339005.html http://www.aygfsteel.com/aoxj/services/trackbacks/339005.html 阅读全文 ]]> easymock教程-创徏stub对象 http://www.aygfsteel.com/aoxj/archive/2010/11/23/338837.htmlsky ao sky ao Tue, 23 Nov 2010 09:51:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/11/23/338837.html http://www.aygfsteel.com/aoxj/comments/338837.html http://www.aygfsteel.com/aoxj/archive/2010/11/23/338837.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/338837.html http://www.aygfsteel.com/aoxj/services/trackbacks/338837.html 前面教程中有个章节讨论到mock和stub的概念差别,一般来说easymock如其名所C,主要是用来做mock用的Q但是easymock中也提供有对stub的支? 主要体现在andStubAnswer(),andStubDelegateTo(),andStubReturn(),andStubThrow()和asStub(){方法的使用上?nbsp; 阅读全文 ]]> easymock教程-strict和nice http://www.aygfsteel.com/aoxj/archive/2010/11/19/338463.htmlsky ao sky ao Fri, 19 Nov 2010 03:39:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/11/19/338463.html http://www.aygfsteel.com/aoxj/comments/338463.html http://www.aygfsteel.com/aoxj/archive/2010/11/19/338463.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/338463.html http://www.aygfsteel.com/aoxj/services/trackbacks/338463.html
阅读全文 ]]> easymock教程-使用MockControl http://www.aygfsteel.com/aoxj/archive/2010/10/26/336201.htmlsky ao sky ao Tue, 26 Oct 2010 09:18:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/10/26/336201.html http://www.aygfsteel.com/aoxj/comments/336201.html http://www.aygfsteel.com/aoxj/archive/2010/10/26/336201.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/336201.html http://www.aygfsteel.com/aoxj/services/trackbacks/336201.html 阅读全文 ]]> easymock教程-class mocking http://www.aygfsteel.com/aoxj/archive/2010/10/26/336200.htmlsky ao sky ao Tue, 26 Oct 2010 08:54:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/10/26/336200.html http://www.aygfsteel.com/aoxj/comments/336200.html http://www.aygfsteel.com/aoxj/archive/2010/10/26/336200.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/336200.html http://www.aygfsteel.com/aoxj/services/trackbacks/336200.html
q种情况下,我们׃面主要试对象依赖C个具体类而不是interface的情况,easymock中通过class extension 来提供对class mocking的支持?nbsp; 阅读全文 ]]> easymock教程-easymock的典型?/title> http://www.aygfsteel.com/aoxj/archive/2010/10/15/335250.htmlsky ao sky ao Fri, 15 Oct 2010 09:14:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/10/15/335250.html http://www.aygfsteel.com/aoxj/comments/335250.html http://www.aygfsteel.com/aoxj/archive/2010/10/15/335250.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/335250.html http://www.aygfsteel.com/aoxj/services/trackbacks/335250.html
q里只罗列一些简单的常用功能? 阅读全文 ]]> easymock教程-record-replay-verify模型 http://www.aygfsteel.com/aoxj/archive/2010/10/15/335231.htmlsky ao sky ao Fri, 15 Oct 2010 06:50:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/10/15/335231.html http://www.aygfsteel.com/aoxj/comments/335231.html http://www.aygfsteel.com/aoxj/archive/2010/10/15/335231.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/335231.html http://www.aygfsteel.com/aoxj/services/trackbacks/335231.html
record-replay-verify 模型非常好的满了大多数试场景的需要:先指定测试的期望Q然后执行测试,再验证期望是否被满。这个模型简单直接,易于实现Q也Ҏ被开发h员理解和接受Q因此被各个mock框架q泛使用?nbsp; 阅读全文 ]]> easymock教程-单元试中的主要试对象和依?/title> http://www.aygfsteel.com/aoxj/archive/2010/10/14/335136.htmlsky ao sky ao Thu, 14 Oct 2010 06:01:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/10/14/335136.html http://www.aygfsteel.com/aoxj/comments/335136.html http://www.aygfsteel.com/aoxj/archive/2010/10/14/335136.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/335136.html http://www.aygfsteel.com/aoxj/services/trackbacks/335136.html 阅读全文 ]]> easymock教程-目录 http://www.aygfsteel.com/aoxj/archive/2010/10/14/335096.htmlsky ao sky ao Thu, 14 Oct 2010 02:44:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/10/14/335096.html http://www.aygfsteel.com/aoxj/comments/335096.html http://www.aygfsteel.com/aoxj/archive/2010/10/14/335096.html#Feedback 3 http://www.aygfsteel.com/aoxj/comments/commentRss/335096.html http://www.aygfsteel.com/aoxj/services/trackbacks/335096.html
主要内容来自easymock的官|教E,针对日常使用q行了一些筛选和补充Q另外增加一些个人的理解和认识?
另外考虑到网l上已有不少分散的教E,我将适当的链接进来?
教程的内容将在随后逐渐dQ目前计划的目录如下Q相应内容完成之后我逐个更新此文的链接?nbsp; 阅读全文 ]]> 谈mock和stub http://www.aygfsteel.com/aoxj/archive/2010/08/26/329975.htmlsky ao sky ao Thu, 26 Aug 2010 07:28:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/08/26/329975.html http://www.aygfsteel.com/aoxj/comments/329975.html http://www.aygfsteel.com/aoxj/archive/2010/08/26/329975.html#Feedback 1 http://www.aygfsteel.com/aoxj/comments/commentRss/329975.html http://www.aygfsteel.com/aoxj/services/trackbacks/329975.html
试着写下此文Q以验自己是不是真的明白mock和stub?nbsp; 阅读全文 ]]> 推荐升easymock到新?.0版本 http://www.aygfsteel.com/aoxj/archive/2010/06/26/324568.htmlsky ao sky ao Sat, 26 Jun 2010 12:33:00 GMT http://www.aygfsteel.com/aoxj/archive/2010/06/26/324568.html http://www.aygfsteel.com/aoxj/comments/324568.html http://www.aygfsteel.com/aoxj/archive/2010/06/26/324568.html#Feedback 1 http://www.aygfsteel.com/aoxj/comments/commentRss/324568.html http://www.aygfsteel.com/aoxj/services/trackbacks/324568.html
easymock已经发布了新?.0版本Q该版本的主要改q就是消除上q的问题Q新版本中可以直接mock classQ不再强制用easyMock class extension?
强烈推荐q在使用2.*的朋友们升?.0版本?nbsp; 阅读全文 ]]> TestNG官方文档中文?9)-重复p|试,junit试,jdk1.4支持Q编E式调用和Beanshell http://www.aygfsteel.com/aoxj/archive/2008/09/05/227223.htmlsky ao sky ao Fri, 05 Sep 2008 07:00:00 GMT http://www.aygfsteel.com/aoxj/archive/2008/09/05/227223.html http://www.aygfsteel.com/aoxj/comments/227223.html http://www.aygfsteel.com/aoxj/archive/2008/09/05/227223.html#Feedback 1 http://www.aygfsteel.com/aoxj/comments/commentRss/227223.html http://www.aygfsteel.com/aoxj/services/trackbacks/227223.html 阅读全文 ]]> TestNG官方文档中文?8)-cȝ别注解和q发 http://www.aygfsteel.com/aoxj/archive/2008/09/05/227103.htmlsky ao sky ao Fri, 05 Sep 2008 00:09:00 GMT http://www.aygfsteel.com/aoxj/archive/2008/09/05/227103.html http://www.aygfsteel.com/aoxj/comments/227103.html http://www.aygfsteel.com/aoxj/archive/2008/09/05/227103.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/227103.html http://www.aygfsteel.com/aoxj/services/trackbacks/227103.html 阅读全文 ]]> TestNG官方文档中文?7)-Ҏ依赖和工?/title> http://www.aygfsteel.com/aoxj/archive/2008/09/02/226462.htmlsky ao sky ao Tue, 02 Sep 2008 10:14:00 GMT http://www.aygfsteel.com/aoxj/archive/2008/09/02/226462.html http://www.aygfsteel.com/aoxj/comments/226462.html http://www.aygfsteel.com/aoxj/archive/2008/09/02/226462.html#Feedback 1 http://www.aygfsteel.com/aoxj/comments/commentRss/226462.html http://www.aygfsteel.com/aoxj/services/trackbacks/226462.html 阅读全文 ]]> TestNG官方文档中文?6)-参数 http://www.aygfsteel.com/aoxj/archive/2008/09/02/226434.htmlsky ao sky ao Tue, 02 Sep 2008 08:53:00 GMT http://www.aygfsteel.com/aoxj/archive/2008/09/02/226434.html http://www.aygfsteel.com/aoxj/comments/226434.html http://www.aygfsteel.com/aoxj/archive/2008/09/02/226434.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/226434.html http://www.aygfsteel.com/aoxj/services/trackbacks/226434.html 阅读全文 ]]> TestNG官方文档中文?5)-试Ҏ/cdl?/title> http://www.aygfsteel.com/aoxj/archive/2008/03/23/188013.htmlsky ao sky ao Sun, 23 Mar 2008 05:14:00 GMT http://www.aygfsteel.com/aoxj/archive/2008/03/23/188013.html http://www.aygfsteel.com/aoxj/comments/188013.html http://www.aygfsteel.com/aoxj/archive/2008/03/23/188013.html#Feedback 5 http://www.aygfsteel.com/aoxj/comments/commentRss/188013.html http://www.aygfsteel.com/aoxj/services/trackbacks/188013.html
原文误 http://testng.org/doc/documentation-main.html 阅读全文 ]]> TestNG官方文档中文?4)-q行TestNG http://www.aygfsteel.com/aoxj/archive/2008/03/22/187938.htmlsky ao sky ao Sat, 22 Mar 2008 13:02:00 GMT http://www.aygfsteel.com/aoxj/archive/2008/03/22/187938.html http://www.aygfsteel.com/aoxj/comments/187938.html http://www.aygfsteel.com/aoxj/archive/2008/03/22/187938.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/187938.html http://www.aygfsteel.com/aoxj/services/trackbacks/187938.html 阅读全文 ]]> TestNG电子书推荐和下蝲地址 http://www.aygfsteel.com/aoxj/archive/2008/03/20/187445.htmlsky ao sky ao Thu, 20 Mar 2008 03:46:00 GMT http://www.aygfsteel.com/aoxj/archive/2008/03/20/187445.html http://www.aygfsteel.com/aoxj/comments/187445.html http://www.aygfsteel.com/aoxj/archive/2008/03/20/187445.html#Feedback 18 http://www.aygfsteel.com/aoxj/comments/commentRss/187445.html http://www.aygfsteel.com/aoxj/services/trackbacks/187445.html
推荐所有TestNG爱好者,其是新手?nbsp; 阅读全文 ]]> TestNG官方文档中文?3)-testng.xml http://www.aygfsteel.com/aoxj/archive/2008/03/19/187382.htmlsky ao sky ao Wed, 19 Mar 2008 15:52:00 GMT http://www.aygfsteel.com/aoxj/archive/2008/03/19/187382.html http://www.aygfsteel.com/aoxj/comments/187382.html http://www.aygfsteel.com/aoxj/archive/2008/03/19/187382.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/187382.html http://www.aygfsteel.com/aoxj/services/trackbacks/187382.html 阅读全文 ]]> TestNG官方文档中文?2)-annotation http://www.aygfsteel.com/aoxj/archive/2008/03/19/187380.htmlsky ao sky ao Wed, 19 Mar 2008 15:22:00 GMT http://www.aygfsteel.com/aoxj/archive/2008/03/19/187380.html http://www.aygfsteel.com/aoxj/comments/187380.html http://www.aygfsteel.com/aoxj/archive/2008/03/19/187380.html#Feedback 0 http://www.aygfsteel.com/aoxj/comments/commentRss/187380.html http://www.aygfsteel.com/aoxj/services/trackbacks/187380.html 阅读全文 ]]> TestNG官方文档中文?1)-介绍 http://www.aygfsteel.com/aoxj/archive/2008/03/18/187105.htmlsky ao sky ao Tue, 18 Mar 2008 14:25:00 GMT http://www.aygfsteel.com/aoxj/archive/2008/03/18/187105.html http://www.aygfsteel.com/aoxj/comments/187105.html http://www.aygfsteel.com/aoxj/archive/2008/03/18/187105.html#Feedback 3 http://www.aygfsteel.com/aoxj/comments/commentRss/187105.html http://www.aygfsteel.com/aoxj/services/trackbacks/187105.html google了一下没有找到好的详l的文档Q最后发现官|上的文档其实挺全的Q决定翻译一下? TestNG的官Ҏ档请见: http://testng.org/doc/documentation-main.html 阅读全文 ]]> loadrunner license讄问题 http://www.aygfsteel.com/aoxj/archive/2008/02/18/180412.htmlsky ao sky ao Mon, 18 Feb 2008 03:35:00 GMT http://www.aygfsteel.com/aoxj/archive/2008/02/18/180412.html http://www.aygfsteel.com/aoxj/comments/180412.html http://www.aygfsteel.com/aoxj/archive/2008/02/18/180412.html#Feedback 4 http://www.aygfsteel.com/aoxj/comments/commentRss/180412.html http://www.aygfsteel.com/aoxj/services/trackbacks/180412.html 阅读全文 ]]>
վ֩ģ壺
|
|
|
ƽ |
|
|
|
Ȫ |
ͷ |
|
J |
|
ͬ |
|
ͭ |
ന |
Զ |
|
|
ɽ |
ɽ |
|
|
Ͷ |
Ȫ |
|
|
¡Ң |
ƽ |
ޭ |
|
|
|
|
|
Դ |
|
|
ͭϿ |
|
|