Setting up UI unit testing in Android is pain. I r...
# android
a
Setting up UI unit testing in Android is pain. I recently had this experience and wrote this article which tries to consolidate all pain points/gotchas at single place. https://link.medium.com/VtccFcwWu1
r
Very Nice ! Although two things: Mockito Inline can test Kotlin Final Classes. So you do not have to make them open for test. And did you use androidTestImplementation io.mock.mock-android?
a
Hello, thanks! I used
androidTestImplementation 'org.mockito:mockito-android:3.1.0'
. I will lookup about
io.mock.mock-android
and
Mockito Inline
.
r
Mock-android is the mockk for android test
👍 1
Yea mockito inline is what you need for mockito
👍 1