Please log in to watch this conference skillscast.
Unfortunately, it is not a straightforward task since Mockito 2 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. It has demos to show migrating Android app Mockito 1.x tests to Mockito 2.x.
YOU MAY ALSO LIKE:
Upgrading Android App Unit tests to Mockito 2.x
Hazem Saleh
Hazem Saleh has more than fifteen years of experience in Cloud and Mobile technologies.