implementation "org.jetbrains.kotlinx:kotlinx-coroutines-android:1.4.1"
implementation "androidx.room:room-runtime:2.2.6"
implementation "androidx.legacy:legacy-support-v4:1.0.0"
kapt "androidx.room:room-compiler:2.2.6"
implementation "androidx.room:room-ktx:2.2.6"
testImplementation "androidx.arch.core:core-testing:2.1.0"
testImplementation "androidx.room:room-testing:2.2.6"
testImplementation "junit:junit:4.13.2"
testImplementation "com.google.truth:truth:1.1.2"
testImplementation "org.jetbrains.kotlinx:kotlinx-coroutines-test:1.3.4"
testImplementation 'org.robolectric:robolectric:4.5.1'
androidTestImplementation "androidx.test.ext:junit-ktx:1.1.2"
androidTestImplementation "androidx.test.espresso:espresso-core:3.3.0"
androidTestImplementation "com.google.truth:truth:1.1.2"
androidTestImplementation "androidx.arch.core:core-testing:2.1.0"
androidTestImplementation "androidx.test:rules:1.3.0"
androidTestImplementation "androidx.test:runner:1.3.0"
androidTestImplementation "androidx.test:core-ktx:1.3.0"
To run the test case click on the little run icon near the class name and then select Run LanguageDatabaseTest. If all the test cases pass you will get a green tick in the Run console. In our case, all tests have passed.