Please log in to watch this conference skillscast.
Mockito 2.x solves many problems that most of the Android developers were having in their tests in Mockito 1.x. But what if you are having today large 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 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:
- Scala eXchange London 2018 (in London on 13th - 14th December 2018)
- Real World Kotlin Development Workshop (in London on 28th February - 1st March 2019)
- Test Driven Development (TDD) Workshop with Damjan Vujnovic (in London on 18th - 19th July 2019)
- Uncle Bob's Clean Code: Agile Software Craftsmanship (in London on 18th - 20th November 2019)