Tf1bb4su6fihkuyfozxm
SkillsCast

Upgrading Android App Unit tests to Mockito 2.x

25th October 2018 in London at Business Design Centre

There are 67 other SkillsCasts available from droidcon London 2018

Please log in to watch this conference skillscast.

734965210 640

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:

Thanks to our sponsors

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.

SkillsCast

Please log in to watch this conference skillscast.

734965210 640

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:

Thanks to our sponsors

About the Speaker

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.

Photos