Android Architecture Components: Testing your Room DAO classes


In this previous post, we look at testing our ViewModel LiveData from the classes used in the Architecture components library. You can check this post out here if you haven’t yet: Today we’re here to talk about how we can write tests for our DAO classes when we’re using Room for our Database layer in our application. The great thing is is that this is a straight forward concept and is probably...