• 可以模仿对象测试各种技巧技术组合起来。

    You can combine mock object testing with a variety of techniques and technologies.

    youdao

  • 尤其是设计利用了模仿对象简化测试

    In particular, my design employed mock objects to make testing easier.

    youdao

  • 需要考虑使用动态模仿对象可靠测试策略

    This allows for a reliable testing strategy that USES dynamic mock objects.

    youdao

  • 测试代码中,创建模仿对象且实现与合作者相同接口

    In your test code, create a mock object implementing the same interface as the collaborator.

    youdao

  • 模仿对象符合实际对象接口只要有足够代码欺骗测试对象跟踪行为

    A mock object conforms to the interface of the real object, but has just enough code to fool the tested object and track its behavior.

    youdao

  • 模仿对象用来单独测试代码逻辑一部分

    Mock objects are used to test a portion of your code logic in isolation from the rest of the code.

    youdao

  • 使用模仿对象进行测试常用编码样式

    The common coding style for testing with mock objects is to.

    youdao

  • Wicket通过使用内置模仿对象框架提供对容器外单元测试支持

    Wicket supports out-of-container unit testing through the use of a built-in mock object framework.

    youdao

  • 对象模仿非常流行通用单元测试方式

    Mock objects are very popular and common approach to a unit testing. According to Wikipedia

    youdao

  • 虽然这种模式对于许多情况非常有效,但模仿对象有时不能传递正在测试对象

    While this pattern is very effective for many cases, sometimes the mock object cannot be passed into the object being tested.

    youdao

  • 模拟对象模仿出于指导代码执行惟一目的而编写行为以便测试符合代码执行要求。

    Mock objects mimic the behavior of classes written with the sole purpose of guiding code execution so that it falls within those areas under test.

    youdao

  • 正如测试一节看到的,模仿对象方法完全满足目标

    As you'll see in the Testing section, a mock-objects approach perfectly matches the goal.

    youdao

  • 测试代码希望产生一种类型对象模仿对象)。

    The test code would like it to produce a different type (a mock).

    youdao

  • 特殊化对象中,覆盖创建方法返回测试提供的模仿对象

    In the specialization object, override the creation method to return a mock object that accommodates your test.

    youdao

  • 可选的:创建单元测试确保原始目标对象工厂方法返回正确模仿对象

    Optional: create a unit test to assure that the original target object's factory method still returns the correct, non-mock object.

    youdao

  • KentBeck模拟对象描述测试对象,该对象可以使用常量进行响应,从而实现开销大复杂资源模仿版本

    Kent Beck describes a mock object as a testing object, one that implements a fake version of an expensive or complicated resource by answering constants.

    youdao

  • KentBeck模拟对象描述测试对象,该对象可以使用常量进行响应,从而实现开销大复杂资源模仿版本

    Kent Beck describes a mock object as a testing object, one that implements a fake version of an expensive or complicated resource by answering constants.

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定