看词语>英语词典>mocks翻译和用法

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.
    1. I thought you were mocking me...
      我还以为你是在嘲笑我。
    2. I distinctly remember mocking the idea...
      我清楚地记得曾经对这个想法嗤之以鼻。
    3. 'I'm astonished, Benjamin,' she mocked.
      “这太让我吃惊了,本杰明,”她嘲弄道。
  • ADJ 假的;仿制的;假装的
    You usemockto describe something which is not real or genuine, but which is intended to be very similar to the real thing.
    1. 'It's tragic!' swoons Jeffrey in mock horror...
      “真惨啊!”杰弗里假装吓昏了过去。
    2. One of them was subjected to a mock execution.
      他们当中有一个人受到了假处决。
    3. ...a mock Tudor mansion.
      仿都铎王朝时期风格的宅第
  • N-COUNT 模拟考试
    Mocksare practice exams that you take as part of your preparation for real exams.
    1. She went from a D in her mocks to a B in the real thing.
      她模拟考试得了D,到了真正考试的时候却拿了个B。

双语例句

  • Use stubs for state based testing, use mocks for interaction based testing.
    用stub来做基于状态的测试,使用mock做基于交互的测试。
  • And he mocks my ideais.
    他还嘲笑我的理想。
  • Its the last thing I would expect. It mocks us and what we are going through right now.
    那是我最不期待的事情,它在嘲笑我们以及我们现在所经历的事情。
  • Nice mocks supply reasonable defaults for methods you don't explicitly mock.
    Nicemock为没有显式地提供mock的方法提供合理的默认值。
  • A simple five-step development process which solves these problems using service use cases, service tests, and service mocks.
    一个简单的五步开发流程,该流程通过使用服务用例、服务测试和服务模拟解决了这些问题。
  • And they've developed service mocks, which are quick prototypes of how the real service will work.
    他们已经开发了服务模拟,这些模拟是表示实际服务将如何工作的快速原型。
  • Mocks can be behaviorally trained.
    Mock可以针对行为训练。
  • Should all of your tests be database-backed, or should you use mocks and stubs to isolate functional tests?
    所有测试是否应该全部受数据库支撑,是否应使用mock和stub来隔离功能测试?
  • We create an email_provider.rb file in the/ test/ mocks/ test directory that defines the delivery method we want to mock out.
    我们在/test/mocks/test目录中创建一个emailprovider.rb文件,它定义我们要模拟的发送方法。
  • The mocks solve this problem.
    模拟解决了此问题。