Hello,
In one computers related book I found a sentence:
To help with this, you can stub out (or “mock”) controller dependencies.
Stub, or mock in this context means simplify object to other form that fakes behavior of the original one,
but is much simpler and this is used for testing.
That said it is clear what stub out in this context means. But in dictionary I found that stub out means extinguish.
So my question is if stub out is only some form of computer slang or it can also be used in common speech in the meaning:
"extract something from something else"?
Thanks a lot for answer.
In one computers related book I found a sentence:
To help with this, you can stub out (or “mock”) controller dependencies.
Stub, or mock in this context means simplify object to other form that fakes behavior of the original one,
but is much simpler and this is used for testing.
That said it is clear what stub out in this context means. But in dictionary I found that stub out means extinguish.
So my question is if stub out is only some form of computer slang or it can also be used in common speech in the meaning:
"extract something from something else"?
Thanks a lot for answer.
Last edited:
