Why should I use mocking objects in my Unit Test?(blog.decayingcode.com)

submitted by arch4ngelarch4ngel(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.

add a comment |category: |Views: 178

tags: another

new Add a live kick counter to your blog >> liveImage

You can even customize the image by choosing your own colors, and then clicking the button below to update the preview and the html code:

  • "Kick It" text
  • "Kick It" background
  • kick count text
  • kick count background
  • border

Simply copy and paste this HTML into your blog post.


Users who kicked this story:
Comments:

No comments so far

information Login or create an account to comment on this story