what is the correct way to use suspend functions i...
# getting-started
d
what is the correct way to use suspend functions inside
androidTest
source set Currently I'm testing Room DB Dao in Android and writing test like this
Copy code
runBlocking {
    movieDao.insertCategory(popularMovies)
}
I think that there might be a better way to write test for such scenario because if I have 20 test than I have to write
runBlocking
20 times Posted in #coroutines