Home | Login | Recent Changes | Search | All Pages | Help

MockObjects

A technique in unit testing of object oriented software. Use a mock object in place of a real one when

the real one is too slow

you need to simulate errors or exceptions

you are doing test-driven programming, and the real one doesn't exist yet.

The original paper is at

http://www.mockobjects.com/misc/mockobjects.pdf


Updated: Monday, April 22, 2002