Writing good tests is not easy, especially in Android. In this session, we will focus on writing tests in Kotlin. First, we will go through basic testing methods and how we implement them in Kotlin. Using Kotlin to write tests can also make your code more readable and maintainable. The second part of this session is going to cover some basics of a testing library, MockK. Finally, we will discuss the challenges and pitfalls of writing Kotlin tests on Android.
Kotlin Everywhere, Taiwan Kotlin User Group, Taipei