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 http://javatoolsforweblogic.googlecode.com/files/TestUnitils.zip a sample Eclipse project to illustrate the mocks - it's basically takes from Unitils tutorial http://unitils.org/tutorial.html
The only hassle is putting together all the required jars (adjust .classpath file)
Friday, February 11, 2011
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment