Home Thoughts Articles Unit Testing with Mock Objects
Unit Testing with Mock Objects
Written by Ben Teese   
Thursday, 25 November 2004 00:00
Article Index
Unit Testing with Mock Objects
What Are Mock Objects?
DynaMock - A Mock Object Testing Framework
Experiences with Mock Objects
Conclusions on Unit Testing with Mock Objects
All Pages

Recently on a medium-sized project I did a lot of work developing unit tests using the 'Mock Objects' pattern. Whilst I had used this pattern before, this was the largest piece of work to-date. In doing so I learnt a lot about unit testing and believe I went to the very limit of what can be tested.

This page and its children talk about unit testing with the Mock Objects pattern. In particular, it covers what Mock Objects are, what tools I have used, and important lessons I have learnt along the way.

Powerpoint Presentation

I've also prepared a presentation that covers this topic and includes some different examples.