• Use other tools, or use pre-packaged mock objects.

    使用其他工具或者那些预先打包好的模拟对象。

    youdao

  • Invoke domain code with mock objects as parameters.

    将模仿对象作为参数来调用域代码。

    youdao

  • Test-Time module of the framework provides mock objects for JSF 1.2 components.

    框架的Test - Time模块为JSF 1.2提供mock对象。

    youdao

  • We can now wire the BPEL process to the two mock objects we created and run the tests.

    现在我们可以将BPEL流程连接到我们创建的两个模拟对象,然后运行测试。

    youdao

  • This is a classic example of the limitations of stubs and why mock objects serve a purpose.

    这是一个经典例子,说明了stub的局限性,以及为什么使用mock对象。

    youdao

  • I create two mock objects for this project to simulate the GPS device and the UI, respectively.

    我为此项目创建了两个模拟对象,分别模拟GPS设备和UI。

    youdao

  • This is true for mock objects defined in a common setUp() method or within the actual test method.

    这对于在公共的setUp()方法中或在实际测试方法内定义的模拟对象来说是正确的。

    youdao

  • Specifically, I want to offer some tips on how easy it can be to write unit tests with mock objects.

    特别地,我想提供一些技巧来说明编写带有模拟对象的单元测试是多么容易。

    youdao

  • But there are some easy ways to create mock objects, or equivalent capabilities, with existing tools.

    但是利用现有的工具可以有一些创建模拟对象或是相当能力的简单方法。

    youdao

  • At this point, it's worth asking what benefits we achieved with the mock objects and what did they cost.

    在这一环节,值得探讨我们使用模拟对象得到的收益是什么以及花费的代价是什么。

    youdao

  • We will illustrate the second aspect of mock objects by constructing a MockCustomerCommunication object.

    我们将通过构造MockCustomerCommunication对象来阐述模拟对象的第二个方面。

    youdao

  • A popular technique for simplifying unit tests is to create mock objects that are used just in the tests.

    简化单元测试的一个流行技巧就是创建仅用于测试中的模拟对象。

    youdao

  • Figure 5 shows the relationship between the test specifications, the process, and the mock objects we have described.

    图5显示了我们介绍的测试规范、流程和模拟对象之间的关系。

    youdao

  • The third step in this SOA development process is to develop service mocks -- mock objects that pass the service tests.

    此SOA开发流程的第三步是开发服务模拟——通过服务测试的模拟对象。

    youdao

  • Before we start work on the mock objects, you might like to examine the business process as it is currently implemented.

    在开始使用模拟对象之前,您可能希望检查当前实现的业务流程。

    youdao

  • Examine the test specifications to remind yourself of how the tests and mock objects cooperate to verify the process behaviour.

    检查测试规范,提醒自己如何结合使用测试和模拟对象来验证流程行为。

    youdao

  • The process for building mock objects from interfaces is simple, straightforward, and helps me develop effective unit test suites.

    从接口创建模拟对象的过程简单易行,并能帮助我们开发有效的单元测试套件。

    youdao

  • As you grow more comfortable using mock objects, you will develop a feel for how much validation responsibility to delegate to the mock.

    随着您更加熟练地使用模仿对象,对于将多少验证职责代理给模仿对象,您将会深有体会。

    youdao

  • You give the mock objects an interface you want the real components to have, then you use the mocks until the real components take shape.

    给模仿对象一个接口,您希望实际组件具备这个接口,然后使用模仿对象,直到实际组件成形。

    youdao

  • This flexibility also makes unit testing your code much, much easier, since you can swap out real components for mock objects during your tests.

    这种灵活性使得你能够更加容易地进行单元测试,因为在测试期间,你可以将真实组件替换为Mock对象。

    youdao

  • I hope that you see the benefits of using mock objects in unit testing. I also hope this brief tutorial helps you see how to create mock objects easily.

    我希望你们能够发现在单元测试中使用模拟对象的益处,也希望这篇简短的指南能够帮您了解如何简单地创建模拟对象。

    youdao

  • Several books and papers show how to use mock objects in unit testing. These describe the capabilities that mock objects should have and how to use them.

    一些书籍和论文讲述了如何在单元测试中使用模拟对象,描述的是模拟对象应该具备的能力以及如何使用他们。

    youdao

  • Languages with advanced metaprogramming capabilities, such as Ruby and Lisp, allow some testing tricks that other languages don't, such as easier access to mock objects.

    具有高级元编程(metaprogramming)能力的语言,例如Rubyand Lisp,允许使用其他语言不支持的一些测试技巧,例如更容易访问mock对象。

    youdao

  • We have seen how simple mock objects can enable repeatable unit testing of a BPEL process, and described a simple framework that greatly eases the construction of mock objects.

    我们了解了简单的模拟对象如何实现BPEL流程的可重复单元测试,并描述了一个简单的框架,该框架极大地简化了模拟对象的构造。

    youdao

  • Fixtures allow you to specify data for testing, and finally, mock objects let you concentrate on testing the core application without worrying about accessing network connections or external systems.

    可以使用fixture指定测试用的数据;mock对象让我们能够集中精力测试应用程序的核心功能,而不必为网络连接或外部系统操心。

    youdao

  • Mock objects are used to verify that the expected values are being generated.

    模拟对象用于验证预期值正在生成。

    youdao

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

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

    youdao

  • They suspect, for example, that the fact that we use very few Mock Objects is due to working on simple problems.

    比如,他们怀疑我们很少使用Mock对象是因为我们处理的问题太简单。

    youdao

  • Mock objects have gotten a lot of publicity lately, but I think they're overused and often too heavy to be practical.

    最近模仿对象得到了大力推广,但我认为它们被滥用了,它们太“重”以至于不切实际。

    youdao

  • Mock objects have gotten a lot of publicity lately, but I think they're overused and often too heavy to be practical.

    最近模仿对象得到了大力推广,但我认为它们被滥用了,它们太“重”以至于不切实际。

    youdao

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

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

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