Mockito Changelog

What's new in Mockito 1.9.5

Oct 8, 2012
  • Few minor bugfixes and a relatively small extension point added to improve the android experience.
  • StackTraceCleaner API
  • To improve the experience of mocking on android platform we've added an extension point for cleaning the stack traces. This allows the friends behind the dexmaker to implement custom stack trace filter and hence make the Mockito verification errors contain clean and tidy stack traces. Clean stack trace is something Mockito always cares about! Thanks a lot Jesse Wilson for reporting, submitting the initial patch and validating the final solution.
  • 2 minor bugs fixed:
  • javadoc fix
  • @InjectMocks inconsistency between java 6 and 7 ( issue 353 )
  • fixed a problem with autoboxed default return values, needed for the MockMaker extension point ( issue 352 ).

New in Mockito 1.9.0 (May 31, 2012)

  • Documentation
  • Fixed issue related to mocks in superclasses
  • Improved Mockito.reset()