
Links
This section links to all kinds of inforamtion related to EasyMock
and Mock Objects.
EasyMock Yahoo!Group
The EasyMock Yahoo!Group is available at http://groups.yahoo.com/group/easymock.
EasyMock in Books
- Pragmatic Unit Testing in Java with JUnit
by Andy Hunt and Dave Thomas (available at their site).
- Test Driven Development: A Practical Guide
by David Astels (listed on amazon.com).
- JUnit in Action
by Vincent Massol (listed on amazon.com).
- Unit Testing in Java: How Tests Drive the Code
by Johannes Link and Peter Fröhlich (listed on amazon.com).
- In german: Testgetriebene Entwicklung mit JUnit & FIT.
Wie Software änderbar bleibt
by Frank Westphal (listed on amazon.de).
- In german: Unit Tests mit Java. Der Test-First-Ansatz
by Johannes Link and Peter Fröhlich (listed on amazon.de).
EasyMock in Presentations and Papers
EasyMock Ports to Other Languages
- .NET: Marco Struck
and Matthias Jantz from MSBK Proximity have ported EasyMock
to .NET. The home page is http://www.easymock.net.
- Smalltalk: Dave Astels has used EasyMock for a long time. As he missed something similar to EasyMock in his Smalltalk projects, he
created it. The library is called SmallMock and is available at
http://www.adaptionsoft.com/smallmock.html.
Mock Objects in General
http://www.mockobjects.com
contains a lot of Mock Object-related information.
EasyMock Alternatives
jMock is another dynamic Mock Object generator for Java that was first released
two years after EasyMock. It uses another approach to define expectations that results in more flexibility to set expectations (you may specify almost everything imaginable) at the cost of less flexibility when refactoring (refactorings like method renaming and parameter reordering will break the tests) and loss of code completion when defining expectations or test-driving code.