Friday, February 11, 2011

Unitils mocks: easy and cool

I am not a fan of EasyMock, I think mockito is far superior.

Yet I found Unitils mocks - which are based on EasyMock - quite easy to use.

Here a sample Eclipse project to illustrate the mocks - it's basically takes from Unitils tutorial

The only hassle is putting together all the required jars (adjust .classpath file)

No comments: