- 1、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
jmock简介(Jmock profile)
jmock简介(Jmock profile) Catalog Total 1 Function and features 1 Background 1 References 2 18.2 JMock (2) 2 Quick start tutorial 2 Introduction to Expectations usage 5 18.2 JMock (3) 6 18.2 JMock (4) 8 Version information 8 Community perspective 9 General Mock testing is a common test method. Usually, when testing, the test code often needs to interact with some real objects, or the execution of the code to be executed depends on the capabilities of the real object. At this point, we can use a lightweight, controllable Mock object instead of a real object, simulating the behavior and function of real objects, so that we can test it. JMock is an implementation of this approach. JMock is a lightweight testing tool that uses Mock objects to test Java code. There is no exception, it is also a member of the xUnit family, because it developed from JUnit, is an enhanced library of JUnit. JMock usage is simple and easy to master. Using it, we can easily and quickly construct the required Mock objects, so that we can easily and quickly write unit test code, which is suitable for the smooth development of test driven development. Function and characteristics With jMock, we dont have to stop writing test code as weve done before and turn to specialized Mock objects. Moreover, jMock allows you to precisely define constraints between objects that interact with each other in a very flexible way to better simulate and characterize call relationships between objects. The constraint expression of the call relationships between such objects in jMock is very concise and compact, which It makes the writing of test code very concise, and also makes good use of Mock object to achieve test intention. In addition, jMock is also easy to extend, and we can easily add custom requirements. JMock can be well integrated with other existing test frameworks, such as JUnit, for common use. Background introduction On jMocks official website, an introduction to the project development team is presented
您可能关注的文档
- 英语新闻标题常用词及部分常用俚语(English news headlines, frequently used words and some commonly used slang expressions).doc
- 英语教育故事2(English education stories 2).doc
- 英语新闻标题特点及翻译(Features and translation of English News Headlines).doc
- 英语应用文写作之自传(Autobiography of English Practical Writing).doc
- 英语时态大全 英语语法基础 必知(English tense Daquan English grammar foundation must know).doc
- 英语易错词汇(English vocabulary errors).doc
- 英语时态总结大全(English tenses summary).doc
- 英语月份的缩写(Abbreviation for English month).doc
- 英语概况1、2单元习题答案(English survey 1, 2 unit exercises answer).doc
- 英语泛读参考(English extensive reading reference).doc
- jinrong(金).doc
- jsd1209第二次试题(Jsd1209 second test questions).doc
- juniper_cpu利用率高(Juniper_cpu utilization rate is high).doc
- k3hr案例日本电企业培训产--精细管理铸就马达龙头(K3hr case Japanese electric enterprise training production - fine management, motor head).doc
- k2(K2).doc
- kaoyan(考研版).doc
- keyshot使用说明(Keyshot instructions).doc
- keo(Keo).doc
- keyword2(关键词).doc
- kindle使用说明(kindle使用说明).doc
文档评论(0)