JMock 2.6 – JUnit Rules and automocking using an @Mock annotation
I’ve been using Mockito a lot this year at work, but I still prefer JMock. However, JMock could do with trimming some of its boilerplate, and I also thought it would be a good idea to use JUnit 4.7′s...
View ArticleMockito-like automocking and optional autowiring in JMock
I’m running my little TDD course again, and (as usual) it’s given rise to another small idea to make unit testing easier: provide Mockito-like automocking (using a @Mock annotation), and in addition...
View ArticleInstant Mockito – a review
Instant Mockito is just a little book covering https://code.google.com/p/mockito/, but that’s not a bad objective in itself. Mockito, after all, is one of the most commonly used Java mocking libraries....
View Article
More Pages to Explore .....