MockMaker Logo


Eclipse Plugin

(c)2002 Paolo Polce, Matthew Cooke

The perfect tool for Eclipse users. This plugin will make mockmaker very easy to use.

MockMakerEclipsePlugin has been tried on Windows 2000 and Linux with Eclipse 2.0

Download it here: EclipseMockMaker1-11-0.zip

Important Note: Using Mock Objects

To use any Mock Objects that are created by MockMaker you will either need the full MockObjects package (www.mockobjects.com) in your eclipse project, or you will need to set the classpath to reference the mmmobjects.jar, a cut down version of MockObjects. mmmobjects.jar is available in the main MockMaker download.


Things you have to know to understand what this is all about...

This document assumes you are familiar with Object Oriented Programming, that you know what MockObjects are and that you are using Eclipse.

The Eclipse Platform is (c) Copyright IBM Corp. and others 2000, 2002. All rights reserved.

Please refer to www.eclipse.org for further informations about eclipse.


Beta Version

Please note that this is a beta version we release to the public to get some feedback. It has some issues we are already aware of... the main one being:

Doesn't provide an eclipse wrapper for the reflection api used in mockmaker. Therefore you might get a ClassNotFound error when trying to make a mock of a class that references objects in jar files


How to use it

The first sensible thing to do is to download it. Once you have your MockMakerEclipsePlugin.zip, just unpack it to the eclipse/plugin folder

Then exit and relaunch eclipse.

Open the java browsing perspective, right click on an interface or a class and you will see a mockmaker menu in the pulldown, as shown here:

Once there, choose the package you want the mockobject to be created in

Press ok and the MockObject will be generated...


How to customise it

You can change the output mockmaker generates, by going to the Eclipse Preferences page:

There you'll see a page where you can configure the output