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

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