Take the 2-minute tour ×

I'm looking for a JMock tutorial using JUnit 3.

Preferably an easy one as well. Every JMock tutorial I have found has been fairly difficult to read through.

Also, is it worth it to use JUnit 4?


share|improve this question
add comment

1 Answer

Note that jmock has changed a lot in the version that goes with JUnit 4. I recommend using JUnit 4 and the latest JMock when writing new tests rather than investing time learning something that doesn't have a future path.

The later version of JMock makes things easier by integrating with the JUnit lifecycle as a runner.

share|improve this answer
add comment

Your Answer


