🎤 Learnt Lessons from Mockito 2.x Migration
- 👤 Hazem Saleh
- Twitter: @hazems
📹
Video:
https://youtu.be/RxD3XVcxWYM
Mockito 2.x solves many problems that most of the Android developers had in their unit tests in Mockito 1.x. But what if we have today a large app with tons of unit tests written in Mockito 1.x and PowerMock, will it be an easy task to migrate? Unfortunately, it is not a straight forward task since Mockito 2.x is not fully compatible with the old behavior of Mockito 1.x. Adding to this complexity, if we have PowerMock in some of our old unit tests, then we have to face another dimension of complexity since most of PowerMock versions have integration issues with Mockito 2.x. This session goes through the learnt lessons and the tips and tricks that are needed to be considered to successfully migrate to Mockito 2.x. This session introduces techniques that can help developers to get rid of PowerMock and develop clean unit tests. This session has several demos to show the benefits of Mockito 2.x migration and the techniques for getting rid of PowerMock in unit tests.
This page was generated from this YAML file. Found a typo, want to add some data? Just edit it on GitHub.