Quantcast
Channel: Dan Haywood » jmock
Browsing latest articles
Browse All 3 View Live

Image may be NSFW.
Clik here to view.

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 Article



Image may be NSFW.
Clik here to view.

Mockito-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 Article

Image may be NSFW.
Clik here to view.

Instant 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
Browsing latest articles
Browse All 3 View Live




Latest Images