Kotlin: Unit testing Room and LiveData

Question or issue of Kotlin Programming: I’m currently developing an app using the newly Android Architecture Components. Specifically, I’m implementing a Room Database that returns a LiveData object on one of its queries. Insertion and querying work as expected, however I have an issue testing the query method using a unit test.

Continue Reading