This is a great way to get started with mocks for Android Unit testing as it can be intimidating to begin.

I created notes based on Oleksiy’s four part series. Another good resource to go along with this is Philipp Hauer’s best practices.

Best Practices for Unit Testing in Kotlin’s sections on MockK.

--

--

--

Open Sourcer

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Adam Hurwitz

Adam Hurwitz

Open Sourcer

More from Medium

Hopes and Dreams …

A Woman Leader Makes a Difference in Japan

Always be learning — How to turn ‘dead time’ into learning time

The Power of Belief