Mockito 2.x Migration Session Slides - Droidcon UK 2018
Mockito 2.x solves many problems that most of the Android developers were having in their unit tests in Mockito 1.x. But what if you are having today large unit tests written in Mockito 1.x and PowerMock, will it be an easy task to migrate?
Unfortunately, it is not a straightforward task since Mockito 2.x is not fully compatible with the old behaviour of Mockito 1.x. Adding to this complexity, If you are having PowerMock in your old tests, then you will have to face another dimension of complexity since most of PowerMock’s versions are having integration issues with Mockito 2.x.
This session goes through the tips and tricks that you need to consider in order to migrate to and utilize Mockito 2.x (including demos). This session is presented in Droidcon UK 2018 (@25 October).
Slides
Attached below the slides.