In this tutorial, I take you through my process for Test Driven Development on the Android Platform in Kotlin (this works for Java as well though; I use Mockito in Java). The goal of this video is to show you the actual way that I go about building and refactoring my applications. TDD is a process which allows you to design better applications, catch bugs faster, and literally prove your application works!
Note: I no longer us any mocking frameworks in my TDD process, but I still follow the general process in this video.
It is not easy to learn or apply in the beginning, so take your time with these videos and understand that it took me several months to be comfortable applying this process in my production code. Let me tell you though; it really shines when you are building complicated applications!