Android Kotlin Espresso asserting intended activity in the unit test is throwing error
问题 I am developing an Android application. I am adding instrumented tests to my application and testing if an activity is launched using Espresso. But I am getting error in asserting that an activity is launched using the Espresso test framework. I added the following express packages into my app gradle androidTestImplementation "androidx.test.espresso:espresso-core:$expressoVersion" androidTestImplementation "androidx.test.espresso:espresso-intents:$expressoVersion" This is my activity class