Someone mentioned a mocking framework called Mockito some time ago to me. I am familiar with mocking frameworks, as I work with EasyMock quite a lot. I really like EasyMock, but I am curious about Mockito. I thought of trying it out a bit and write down my experiences along with a comparison with EasyMock. [...]
Posts Tagged ‘EasyMock’
EasyMock and Mockito, a little comparison
Posted: March 4, 2011 in Unit TestingTags: comparison, development, EasyMock, java, Mockito, unit testing
0
EasyMock Class Extension – IllegalStateException on expect method
Posted: June 30, 2009 in programming, Unit TestingTags: EasyMock, IllegalStateException, java, LinkedIn
When I write unit tests, I find using EasyMock extremely helpful. Especially using EasyMock Class Extensions give me the ability to mock objects which do not have an interface, or objects that are so legacy (and untested) that I don’t dare to touch them yet. I say “yet” , because once I have reduced this [...]