mocks
英 [mɒks]
美 [mɑːks]
n. (英国)模拟考试
v. 嘲笑; (模仿)嘲弄; 不尊重; 蔑视
mock的第三人称单数和复数
柯林斯词典
- VERB 嘲笑;嘲弄;(模仿)取笑
If someonemocksyou, they show or pretend that they think you are foolish or inferior, for example by saying something funny about you, or by imitating your behaviour.- I thought you were mocking me...
我还以为你是在嘲笑我。 - I distinctly remember mocking the idea...
我清楚地记得曾经对这个想法嗤之以鼻。 - 'I'm astonished, Benjamin,' she mocked.
“这太让我吃惊了,本杰明,”她嘲弄道。
- I thought you were mocking me...
- ADJ 假的;仿制的;假装的
You usemockto describe something which is not real or genuine, but which is intended to be very similar to the real thing.- 'It's tragic!' swoons Jeffrey in mock horror...
“真惨啊!”杰弗里假装吓昏了过去。 - One of them was subjected to a mock execution.
他们当中有一个人受到了假处决。 - ...a mock Tudor mansion.
仿都铎王朝时期风格的宅第
- 'It's tragic!' swoons Jeffrey in mock horror...
- N-COUNT 模拟考试
Mocksare practice exams that you take as part of your preparation for real exams.- She went from a D in her mocks to a B in the real thing.
她模拟考试得了D,到了真正考试的时候却拿了个B。
- She went from a D in her mocks to a B in the real thing.
双语例句
- Use stubs for state based testing, use mocks for interaction based testing.
用stub来做基于状态的测试,使用mock做基于交互的测试。 - So a good approach is to develop service mocks, mock objects that are simple emulators of real services.
因此,一个不错的方法就是开发服务模拟,模拟对象是实际服务的简单仿真程序。 - If and when they add to the tests and the mocks, and especially if they change the tests and the mocks, they must distribute these changes to the other teams and resynchronize.
如果将这些提供程序添加到测试和模拟,尤其是在更改了测试和模拟的情况下,则他们必须分发这些更改,以便其他团队重新进行同步。 - Lightning that mocks the night.
黑夜被闪电讽刺。 - The mocks solve this problem.
模拟解决了此问题。 - A simple five-step development process which solves these problems using service use cases, service tests, and service mocks.
一个简单的五步开发流程,该流程通过使用服务用例、服务测试和服务模拟解决了这些问题。 - These service mocks are simple prototypes of the real service providers.
这些服务模拟是实际服务提供程序的简单原型。 - Mocks can be behaviorally trained.
Mock可以针对行为训练。 - Mocks should not be your first choice in any situation.
在任何情况下,mock都不应该是您的第一选择。 - Mocks are not stubs: Martin Fowler's timeless classic walks you through the difference between stubs and mock objects.
Mocksarenotstubs:MartinFowler永恒的经典论述为您分析了stub和mock对象间的差异。
