`
温柔一刀
  • 浏览: 862296 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论

When To Use Mock Objects?

    博客分类:
  • java
阅读更多
  • The real object has nondeterministic behavior
  • The real object is difficult to setup
  • The real object has behavior that is hard to trigger
  • The real object is slow
  • The real object is a user interface
  • The real object uses a call back
  • The real object does not yet exist
分享到:
评论

相关推荐

    Test Driven Development with Python 2nd edition 2017 pdf

    Learn when and how to use mock objects, and the pros and cons of isolated vs. integrated tests Test and automate your deployments with a staging server Apply tests to the third-party plugins you ...

    Test-Driven Development with Python [2017]

    Learn when and how to use mock objects, and the pros and cons of isolated vs. integrated tests Test and automate your deployments with a staging server Apply tests to the third-party plugins you ...

    Python Testing_ Beginner’s Guide.pdf

    Chapter 4: Breaking Tight Coupling by using Mock Objects covers mock objects and the Python Mocker tool. Chapter 5: When Doctest isn't Enough: Unittest to the Rescue introduces the unittest ...

    Python Testing - Beginner's Guide (2010).pdf

    Chapter 4: Breaking Tight Coupling by using Mock Objects covers mock objects and the Python Mocker tool. Chapter 5: When Doctest isn't Enough: Unittest to the Rescue introduces the unittest ...

    Spring和Mybatis整合英文文档翻译.pdf

    9. **Testing**: With MyBatis-Spring, testing becomes straightforward as you can use Spring's testing framework to set up transactions, rollbacks, and mock dependencies. This helps ensure that your ...

    salesforce dev 501 Notes

    Custom controllers are used when you need complete control over the data retrieval and processing, while controller extensions provide a way to extend an existing controller without modifying its ...

    ZendFramework中文文档

    1. Introduction to Zend Framework 1.1. 概述 1.2. 安装 2. Zend_Acl 2.1. 简介 2.1.1. 关于资源(Resource) 2.1.2. 关于角色(Role) 2.1.3. 创建访问控制列表(ACL) 2.1.4. 注册角色(Role) 2.1.5. 定义访问...

Global site tag (gtag.js) - Google Analytics