Why should I use mocking objects in my Unit Test?(blog.decayingcode.com)
submitted by
arch4ngel(585) 3 years, 3 months ago
If we cut out any "fanboy" or favouritism toward certain framework and that we try to keep it in a one liner... I would say: "To simulate behaviours of objects that are impractical or impossible to incorporate inside a unit test".
The Wikipedia's article about Mock Object mention some reason an object should be mocked.
|category: Unit Testing
|Views: 178
tags:
mocking methodology Testing another
Everyones tags:
Your Tags: