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…6 min read·Jul 27, 2019--2--2
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.2 min read·Nov 11, 2018--1--1
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.3 min read·Nov 10, 2018----
Teo Boon KeatTest Driven Development in Android using MVVM, Rxjava and LiveDataWriting unit test without implementation code in MVVM android.7 min read·Nov 10, 2018--3--3
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.2 min read·Jul 18, 2018----