You that have posted these messages seem to understand how to use mock object frameworks like EasyMock, and there are a number of other frameworks listed at
http://www.mockobjects.com/ ... I have some very basic questions. I understand the idea behind use of mock objects despite I lack experiences from it, and I understand use of unit testing and I like test-driven, test-first, development more and more as more I have tried it. But I don�t understand how I should use the mock object frameworks, and not what of them I should look at. Is it possible to say which of them that have got best reputation?
I have looked a little (very little) at EasyMock 2.4 (they do also have a EasyMock 2.3 Class Extension, I am not sure about the difference between them) and on Mock Objects 0.9. It also seems that the maintenance of these frameworks has come to nothing now.
Well, I guess my question could be simplified as should I use mock objects, which one should I then use, adnd how do I learn the basics?
I am currently exercising unit testing on 1.4
servlets as mean to learn more about how to use mock objects in unit
testng.