Skip to content

Writing testable code – an intro | Android 2022 | Kotlin



In this episode, we take our first conscious step towards writing testable code! Follow along for a practical example within this application. It may look simple, and possibly unnecessary, but when we get around to writing unit tests, separating functionality into specific classes will make our lives easier!

I also introduce the concept of a sealed interface to better describe the state of our UI state object! This is in the second half of the video, so I hope you make it to there!

Don’t forget to subscribe and enable notifications to stay up-to-date!

Full playlist here:
Source code here:
API:

— Popular Series —
Rick and Morty app:

— Connect with me —
LinkedIn:
Twitter:…