Testing Parcelable and Serializable classes
6 min readAug 2, 2019
It’s hard to write an app in Android without coming across the need to serialise data using either Parcelable
or Serializable
. In this article, we will explore why at Babylon Health we test our implementations of these interfaces even when using code-generation tools like @Parcelize
, and the tools we use to help us write tests that work for all our classes.