About jMock

JMock is a library that supports test-driven development1 of Java2 code with mock objects3.

Mock objects help you design and test the interactions between the objects in your programs.

The jMock library:

Get jMock4 Get started5 Get training6


1. test-driven development: http://www.c2.com/cgi/wiki?TestDrivenDevelopment

2. Java: http://java.sun.com

3. mock objects: http://www.mockobjects.com/

4. Get jMock: http://www.jmock.org/download.html

5. Get started: http://www.jmock.org/getting-started.html

6. Get training: http://www.musketeer-labs.com/

Recent News

How to Mock Asynchronous GWT Services

19 Feb 2009 19:45:00 GMT

The cookbook has a new page that explains how to mock asynchronous GWT services with jMock.

jMock 2.6-RC1 Released

07 Dec 2008 11:10:00 GMT

JMock 2.6 RC1 has been released. This release is mainly concerned with upgrading its supporting libraries, moving to Cglib 2.2, JUnit 4.5, and Hamcrest 1.2 (RC), plus some minor fixes and improvements. The full changelist is in JIRA.

jMock 2.5.1 Released

24 Aug 2008 11:10:00 GMT

JMock 2.5.1 has been released. This is a bug-fix release that improves test failure diagnostics. The full changelist is in JIRA.

jMock Extensions

13 Aug 2008 01:45:00 GMT

A new page has been added to the jmock website that lists optional and third-party jMock extensions.

jMock 2.5.0 Released

14 Jul 2008 12:00:00 GMT

JMock 2.5.0 has been released. This release contains new features, better failure diagnostics, and bug fixes. New features include classes to help unit-test concurrent code and an optional plugin for scripting actions. The full changelist is in JIRA.

News feed (RSS 2.0)