Used in a Sentence

mocks

Definitions, parts of speech, synonyms, and sentence examples for mocks.

Editorial note

The trickiness comes when you have to write these mocks, and whether the mocks are based off of correct assumptions.

Examples15
Definitions4
Parts of speech1

Quick take

To make fun of, especially by mimicking; to taunt.

Meaning at a glance

The clearest senses and uses of mocks gathered in one view.

verb

To make fun of, especially by mimicking; to taunt.

verb

To mimic, to simulate.

verb

To tantalise, and disappoint the hopes of.

Definitions

Core meanings and parts of speech for mocks.

verb

To make fun of, especially by mimicking; to taunt.

verb

To mimic, to simulate.

verb

To tantalise, and disappoint the hopes of.

verb

(software engineering, transitive) To create a mockup or prototype of.

Example sentences

1

The trickiness comes when you have to write these mocks, and whether the mocks are based off of correct assumptions.

2

The calls to IO are replaced with calls to mocks which are then used to verify IO behavior.

3

It will cheer as Charlie Hebdo mocks the prophet of a quarter of the living people on Earth.

4

The idea was to not actually fast but to develop a diet that mocks fasting.

5

Just put some mocks somewhere and post them to where the UI team meet?

6

With mocks and stubs in a dynamically typed language it's not quite as fearless.

7

At least I can use an interface to define the function's specification, and then use that in mocks.

8

Service layer tests should have mocks of the dao and web service calls.

9

Firstly, since this is application code rather than test code, I can't use mocks at all.

10

To those interested, the exact same technique is achievable in imperative languages[1] -- only with less effort and in a less intrusive way -- with mocks.

11

> It will cheer as Charlie Hebdo mocks the prophet of a quarter of the living people on Earth.

12

Only fearless if you're not using mocks/stubs/etc.

Quote examples

1

Haskell lets us have generic "mocks", which is -way- better than any kind of expectation-based mock.

2

I meant to say, mocks (+ dependency injection) don't require more or less work than using "effect values"; certainly for applications written with that approach in mind.

3

"Hey, I know neither of these guys, have never met either of them, and wasn't actually at the event where the infamous 'Ballmer mocks iPhone guy' incident happened, but clearly Ballmer is threatened and Jobs isn't!" Plenty of Microsoft employees have iPhones.

Frequently asked questions

Short answers drawn from the clearest meanings and examples for this word.

How do you use mocks in a sentence?

The trickiness comes when you have to write these mocks, and whether the mocks are based off of correct assumptions.

What does mocks mean?

To make fun of, especially by mimicking; to taunt.

What part of speech is mocks?

mocks is commonly used as verb.