In this article, Begüm Yazıcı will try to explain ...
# android
k
In this article, Begüm Yazıcı will try to explain what are Unit tests, why should we write them, and how to write them. "It has never been easier to understand how to write Unit Tests on Android — Part 1" 👇 https://blog.kotlin-academy.com/it-has-never-been-easier-to-understand-how-to-write-unit-tests-on-android-part-1-5ed1e5d8112b
❤️ 1
🙌 1
j
IMO the hard part of testing viewmodels (plus the one which extends Android class) is testing the stateflow and whatever suspend functions it has. All of this is not shown so I would change the example names to other thing.