Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which is the best isolation framework for Java? JMock, Easymock, Mockito, or other?

I realize this has been asked before, but the last time was in mid 2008.

If you were starting a new project right now, which one would you use and why? What are their strengths/weaknesses regarding readability, usability, maintainability, and overall robustness?

like image 580
HDave Avatar asked Jun 17 '10 01:06

HDave


1 Answers

I have used Easymock earlier, but now I'm using Mockito. I found Mockito simpler as compared to Easymock. For the detailed comparison of Easymock and Mockito you can refer here

like image 197
Amit Goyal Avatar answered Oct 14 '22 13:10

Amit Goyal