Teo Boon KeatAndroid Unit Testing with JUnit5In Android, almost all our unit tests are written using JUnit4, which came with Android Studio. One huge problem we faced in the…Jul 27, 20192Jul 27, 20192
Teo Boon KeatTest Driven Development — Unit Test for CallbacksThis story is a continuation from previous articles. Here we cover how to write a unit test for callbacks in Android.Nov 11, 20181Nov 11, 20181
Teo Boon KeatTest Driven Development with SingleLiveEventSingleLiveEvent is used to signal an Activity, from a view model, to perform actions. E.g. show toast. See how to write the tests first.Nov 10, 2018Nov 10, 2018
Teo Boon KeatTest Driven Development in Android using MVVM, Rxjava and LiveDataWriting unit test without implementation code in MVVM android.Nov 10, 20183Nov 10, 20183
Teo Boon KeatUsing Mockito’s ArgumentCaptor on SingleLiveEventA SingleLiveEvent class is a observable live data that can be used to send events from ViewModel to View in Android MVVM-styled designs.Jul 18, 2018Jul 18, 2018